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

Assume I have a linked list contains all of the alphabets
from "A" to "Z?" I want to find the letter "Q" in the list,
how does you perform the search to find the "Q?"

Answer Posted / bharghavi

for(currnode=head;currnode!=null;currnode=currnode->next)
{
if(currnode->data=='Q')
cout<<"element found";
}

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

please visit this site you'll find my question this is my homework please answer it if you can http://easyscience.org/ib/lofiversion/index.php/t36168.html

2222


Name the different types of stl containers.

1129


What do stl stand for?

1086


What is a list in c++ stl?

1134


Why should a c++ programmer be interested in stl?

1051


When did c++ add stl?

1191


Define stl.

1232


In what scenario does the Logical file and Physical file being used?

2800


How stl is different from the c++ standard library?

1167


totoo po ba ang manga aliens!

2752


How do you convert stl to steps?

1128


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

2605


sir please send me bpcl previous question papers

2345


Can we use stl in coding interviews?

1767


What does stl stand for in basketball?

1105