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.

Answer Posted / lly

I think both #1 & #2 are wrong. Because the code travels
the list in two passes not one pass.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe the steps to insert data into a singly linked list.

1078


List the difference between a "copy constructor" and a "assignment operator"?

1026


Explain what is page thrashing?

1105


What does #pragma once mean?

1171


Is using exit() the same as using return?

1370


provide an example of the Group by clause, when would you use this clause

2199


Explain how can I right-justify a string?

1052


What are header files? What are their uses?

1222


Is it better to use malloc() or calloc()?

1122


List out few of the applications that make use of Multilinked Structures?

2201


Is it possible to initialize a variable at the time it was declared?

1224


Explain the difference between ++u and u++?

1143


What is spaghetti programming?

1145


I came across some code that puts a (void) cast before each call to printf. Why?

1225


What is ambagious result in C? explain with an example.

2639