Is the following code legal?
struct a
{
int x;
struct a b;
}
Answer Posted / preeti
no. It is illegal ..
Struct shd be ended by a semi colon ..
struct a
{
int x;
struct a b;
};
Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
What is the right type to use for boolean values in c? Is there a standard type?
Compare array data type to pointer data type
What is volatile variable in c with example?
What is difference between class and structure?
Can we use any name in place of argv and argc as command line arguments?
Explain how can I convert a string to a number?
How variables are declared in c?
What is openmp in c?
Can we declare variable anywhere in c?
What is dynamic variable in c?
What is a string?
What is the general form of #line preprocessor?
How can I trap or ignore keyboard interrupts like control-c?
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
What is the easiest sorting method to use?