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
Describe the My Computer and My Documents folders; identify the elements that are present in every Window.
What is a standard template library (stl)?
Is there any error below, its a code to delete all entires from a map #include
totoo po ba ang manga aliens!
What are the symptoms of stl?
draw a flowchart that accepts two numbers and checks if the first is divisible by the second.
What are stl algorithms?
What is stl stack?
Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.
How do I convert a stl file?
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
What do stl stand for?
how can u do connectivity in c++ language? plz send me connectivity code in c++ ?
Name the different types of stl containers.
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.