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?"

Answers were Sorted based on User's Feedback



Assume I have a linked list contains all of the alphabets from "A" to "Z?" I w..

Answer / bharghavi

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

Is This Answer Correct ?    6 Yes 0 No

Assume I have a linked list contains all of the alphabets from "A" to "Z?" I w..

Answer / tutum

by using find() function..u can find "Q"...
regards
tutum

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More STL Interview Questions

When did c++ add stl?

0 Answers  


write a program that will accept a number and print.its equivalent in words the maximum input number is 9999

0 Answers  


What does stl mean in slang?

0 Answers  


Is there any error below, its a code to delete all entires from a map #include <map> #include iostream.h int main() { int i =0; map <int, char> TestMap; while(i<3) { TesMap.insert(TestMap::value_type(i,Test)); i++; } typedef map<int, char> :: iterator mapIter =TestMap.begin(); if(mapIter!=TestMap.end()) { TestMap.erase(mapItrer); ++mapIter; } return 0; }

0 Answers  


differentiate between private, public and protected data members of the class using example.

1 Answers  


write a c++ program to create an object of a class called employee containing the employee code name designation basic salarry HRA Da gross salary as data 10 such objects "members process "

1 Answers  


help me i need a c++ program which takes sequesnce of characters and outputed sequence of their token taypes, work same compiler in lexical analysis phase

0 Answers  


what is template and type convertion

0 Answers   TATA,


Write a program in C/C++ to implement reader- writer problem

1 Answers   Wipro,


What do stl stand for?

0 Answers  


What is a stl vector?

0 Answers  


Write a program in C++ returning starting locations of a substring using pointers

1 Answers  


Categories