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
}



Find the error in the following program struct point {struct point *next; int data; } x; main() {i..

Answer / bob

q=x; x=x->next; freelist(q);

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More STL Interview Questions

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's the difference between abstract class and concreate class? what's the meaning of standard template library(STL)?

2 Answers  


What do you mean by stl?

1 Answers  


how to swap two numbers in a linked list without exchanging the data but only the links?

3 Answers   Wipro,


What is a standard template library (stl)?

0 Answers  






what is strcture i++ i ++i answer to this i=5 what is the out put

6 Answers  


write a program that input four digit no and finds it is palindrome or not

2 Answers  


What are the different types of stl containers?

0 Answers  


Explain stl.

0 Answers  


how to making game in c++ ?

0 Answers  


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

1 Answers  


Who created stl?

0 Answers  


Categories