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
Why c is known as a mother language?
Explain how are 16- and 32-bit numbers stored?
What does the format %10.2 mean when included in a printf statement?
Why do we use namespace feature?
What are the advantages of the functions?
What is a lvalue
What is the difference between int main and void main in c?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
Write programs for String Reversal & Palindrome check
What is an auto variable in c?
write a program to print largest number of each row of a 2D array
How do I round numbers?
What are the valid places to have keyword “break”?
What are the different types of control structures?
Find MAXIMUM of three distinct integers using a single C statement