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
Define stl.
What two types of containers does the stl provide?
How do I convert a stl file?
What are the various types of stl containers?
What is a stl vector?
What are the symptoms of stl?
how to use C++?
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
Is stl part of c++ standard?
Is string part of stl?
What is stl in c++ with example?
What do stl stand for?
What is the use of stl?
Why should a c++ programmer be interested in stl?
Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.