Why is this showing error?

mid point problem in linked list
@aman212yadav @asaurabh_26

while(fast!=NULL && fast->next!=NULL ){

}

this is the correct condition
first you have to check fast is not null then only check fast->next

samaj gya bhai
lekin ek baat btao coding blocks ide pe code kru ya offlien ide pe ???

your choice bhai
running code offline is fast and you get output quickly
for sharing code you can use codingblocks ide

bhai lekin jo offline ide course m batayi h install krne ke liye ab vese krke voh terminal nii aa rha jo uss explanatory video m aa rha h

you are using windows na??
if so then go to search bar and type cmd

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.