next) return; p=list; q=list->next; while(q) { temp=p->value; p->value=q->value; q->value=temp; p=q->next; q=p?p->next:0; } }"/>

Latest josh technology Aptitude Question SOLUTION: #include struct node { int value ; struct node *next; }; /*void fun(int *p) { int q=10; printf("function %d\n",*p); p=&q; printf("function %d\n",*p);