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

give me an example for testing a program showing the test path .show how the test is important and complex.

2923


Write about the stack unwinding?

1059


What is meant by the term name mangling in c++?

955


What is problem with overriding functions?

1054


Explain data encapsulation?

1122


Is java based off c++?

967


When is dynamic checking necessary?

1109


Which operations are permitted on pointers?

994


What does count ++ do in c++?

1197


What are register variables?

1142


Does improper inheritance have a potential to wreck a project?

1136


Specify different types of decision control statements?

848


What are the effects after calling the delete this operator ?

1050


Is there any difference between int [] a and int a [] in c++?

1014


What is the keyword auto for?

1033