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 should malloc() do? Return a null pointer or a pointer to 0 bytes?

715


Explain 'far' and 'near' pointers in c.

795


What is #define in c?

712


Explain the properties of union.

705


write an algorithm to display a square matrix.

2321






What is meant by recursion?

713


Write a program to print factorial of given number using recursion?

704


What is wrong with this code?

777


what is recursion in C

707


What does == mean in texting?

784


What is nested structure with example?

725


What does typeof return in c?

733


Why c is faster than c++?

708


what is the different bitween abap and abap-hr?

1836


Is it possible to use curly brackets ({}) to enclose single line code in c program?

919