Is the following code legal?
struct a
{
int x;
struct a b;
}

Answer Posted / dilpreet

yes, it is nested structure

Is This Answer Correct ?    6 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the advantage of using #define to declare a constant?

624


Can you return null in c?

598


What is substring in c?

642


code for quick sort?

1623


What is difference between structure and union?

603






Explain what are run-time errors?

611


What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }

701


what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9

1431


Explain what is meant by 'bit masking'?

645


What’s the special use of UNIONS?

660


Is main an identifier in c?

606


What do you mean by a sequential access file?

630


What the different types of arrays in c?

615


Distinguish between actual and formal arguments.

592


There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?

826