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

Memory is not a constraint. In a single iteration(NOTE: you
can't go back), how will you find out the 10th last
node/item in a linked list.

Answer Posted / atul bodke

correction in prev answer ...
i saw it after posting ... :)
correction in while loop ...
while(ptr!=null)
{
p[(n++)%10]=ptr;
ptr=ptr->next;
}
................................

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are manipulators in c++ with example?

1001


Explain explicit container.

1032


What is the first name of c++?

1006


What is object oriented programming (oop)?

1067


What is difference between c++ and c ++ 14?

982


Explain the problem with overriding functions

1087


What is the difference between #define debug 0 and #undef debug?

1125


What is the operator in c++?

1069


Why use of template is better than a base class?

1101


how to access grid view row?

2165


What is the use of object in c++?

1044


What are register variables?

1065


When one must use recursion function? Mention what happens when recursion functions are declared inline?

1130


What gives the current position of the put pointer?

938


What is c++ best used for?

1013