Linked list k reverse challenge

sir , could you please help me in this question of k reverse of linked list. I am bit confused how to proceed further. I tried this:https://ide.codingblocks.com/s/104940

@khushi91200
Try this

node*q = head ;
head=p;
reversek(c,k);
q->next = c;

Added one line before Line 63 and one after Line 64.

thanks sir it worked

whats the meaning of q->next=c…??