0 votes 0 votes closed with the note: i got it void Do(struct*node head) { if(!head)return; printf("%d",head->data); Do(head->next); } so which statement follow which inside bracket i am getting doubt?? if we give 2->4->8->5 then what it will print?? abhishek tiwary asked Dec 6, 2017 • closed Dec 6, 2017 by abhishek tiwary abhishek tiwary 267 views comment Share Follow See all 4 Comments See all 4 4 Comments reply joshi_nitish commented Dec 6, 2017 reply Follow Share i am not getting your doubt. Btw, it will print 2 4 8 5. 0 votes 0 votes abhishek tiwary commented Dec 6, 2017 reply Follow Share @ joshi_nitish if (head==NULL) return; both are same ?? can we write return0 also 0 votes 0 votes joshi_nitish commented Dec 6, 2017 reply Follow Share if(head==NULL) is also correct. you can also write return 0; it will not affect anything until return value of Do() is not used somewhere else. 0 votes 0 votes abhishek tiwary commented Dec 6, 2017 reply Follow Share actually in made easy test they printed in reverse that's why i ask BTW thank you for reply 0 votes 0 votes Please log in or register to add a comment.