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

Write a program to reverse a linked list?

Answer Posted / jithin

reverse(Node * previous, Node * Current)
{
start = current;
if(current !=null)
{
reverse(current, current->next);
current->next = previous;
}

}

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is increment operator in c++?

1017


What is data hiding c++?

1039


Show the declaration for a static function pointer.

1042


What operators can you overload in c++?

1036


What are separators in c++?

1083


How new/delete differs from malloc()/free?

1136


What is the use of pointer in c++ with example?

1037


Why is it necessary to use a reference in the argument to the copy constructor?

1113


What are punctuators in c++?

1154


Can we delete this pointer in c++?

1211


Show the declaration for a pointer to function returning long and taking an integer parameter.

1126


what is VOID?

1061


Should I learn c or c++ first?

1121


List down the guideline that should be followed while using friend function.

1065


Is oops and c++ same?

1040