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
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 |
Answer / tutum
by using find() function..u can find "Q"...
regards
tutum
Is This Answer Correct ? | 2 Yes | 1 No |
Who wrote stl?
How is stl different from c++ standard library?
what is compiler?
What do stl stand for?
What is the disadvantage of templates ?
What is the stl, standard template library?
Find the error in the following program struct point {struct point *next; int data; } x; main() {int...data; } x; main() {int i; for(x=p;x!=0;) x=x->next,x++; freelist(x); } freelist(x) {free(x); return }
What is C++ could you enplane me please?
how to use C++?
give me the defination of inheritance?
What is the STL?
What are the different types of stl containers?