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...


Implement a function that returns the 5th element from the
end in a singly linked list of integers in one pass.

Answers were Sorted based on User's Feedback



Implement a function that returns the 5th element from the end in a singly linked list of integers..

Answer / vrushali

In whatever the case , we require to know the no of nodes in
the LL. As there is no way to know the total no of nodes
without traversing the LL.

Please coorect me if I am wrong.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More C Interview Questions

what is the difference between #include<stdio.h> and #include "stdio.h" ?

3 Answers  


Describe the difference between = and == symbols in c programming?

0 Answers  


Unsigned char c; for ( c=0;c!=256;c++2) printf("%d",c); No. of times the loop is executed ?

8 Answers   Mascot, TCS,


Write a program that his output * *** *****

1 Answers  


what is difference between null and nul in c language

2 Answers  


I need a sort of an approximate strcmp routine?

0 Answers  


how to write a c program to print list of fruits in alpabetical order?

0 Answers  


What is union and structure?

0 Answers  


What is volatile variable how do you declare it?

0 Answers  


What is nested structure with example?

0 Answers  


Determine if a number is a power of 2 at O(1).

2 Answers  


how 2 compile & execute c program with out using editor?

2 Answers   HP,


Categories