Is the following code legal?
struct a
{
int x;
struct a b;
}
Answers were Sorted based on User's Feedback
Answer / raghu
no this code is illegal.
legal one:
struct a
{
int x;
struct a *b;
}
| Is This Answer Correct ? | 26 Yes | 7 No |
Answer / 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 |
What is the difference between malloc() and calloc() function in c language?
what are the different storage classes in c?
Why is c so popular?
What is true about the following C Functions a.Need not return any value b.Should always return an integer c.Should always return a float d.Should always return more than one value.
How do you access command-line arguments?
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code
How to get string length of given string in c?
what is function pointer?
where does it flourished?
Who developed c language?
Explain how do you print only part of a string?
What does %f mean c?