Find Error if any in below code, Justify ur answer:

struct xx
{
int a;
struct yy
{
char c;
struct xx* p;
}
struct yy* q;
}

Answer Posted / raj

struct xx
{
int a;
struct yy
{
char c;
struct xx* p;
};//Semicolon is missing
struct yy* q;
}

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is data structure in c programming?

779


Write a C program to count the number of email on text

1624


Explain a file operation in C with an example.

870


What are dangling pointers in c?

819


What does 1f stand for?

824


Whats s or c mean?

766


what will be maximum number of comparisons when number of elements are given?

1639


What are the applications of c language?

830


shorting algorithmS

2004


i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none

813


cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration

849


What will be the outcome of the following conditional statement if the value of variable s is 10?

1026


Is it possible to pass an entire structure to functions?

742


What does static variable mean in c?

839


Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

846