Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

DESHAW placement papers --------- placement paper 4

Answer Posted / purnendu shaw

/*Q.No 10....Reverse a linked list*/
void reverse(node** head)
{
node *p,*q,*r;
if(*head==NULL){printf("Empty link list:");return;}
p=*head;
q=p->next;
r=q->next;
while(r!=NULL)
{ q->next=p;p=q;q=r;r=r->next;}
q->next=p;
*head=q;
}

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If anybody knows the recruitment procedure of IOTL & POWER MECHANICAL. send me the placement papers if u hav... very urgent ...

4400


my question is : reverse a string in COBOL program (please write a code asap) input file: 1234abcdef output file: 8765_____ abc*$#1___ 1_2_3_4__ cdef____ghi h_k_z_a__ a_z_k_h___ ihg____ghi 4_3_2_1___ 1#$*cba__ ______5678 fedcb4321

1876


what is the use of air in gc

1897


what is difference between uv and visible spectroscopy and how to differentiate the drug compounds in uv visible region

2117


speak 1min on topic Travelling,memorable moment ,memorable day?

2259


A frog wants to climb a pole which is 15 feet in height, frog can jump 3 feet every minute after which he rests for a minute where he slips down 2 feet. How much time will the frog take to reach the top of the pole?

1083


aptitude

1143


HI SIR I WANT PREVIOUS QUESTION PAPER OF HPCL I M CHEMICAL ENGG.

2396


what is bidirectional?

1880


Do we have vacancy for HR RECRUITER ?

1853


Sks Microfinance

1459


printf("%d",printf("%d",printf("%d",printf("%s","ILOVECPROGRAM")))); whats the output

1963


how did you celebrate your last birthday?

1796


why didn't get placed so far?

1700


email me previous question papers of bob bank for po exams

2498