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
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
What is #define used for in c?
Explain the difference between #include "..." And #include <...> In c?
What is the difference between int main and void main in c?
What is difference between %d and %i in c?
Is it cc or c in a letter?
Describe the modifier in c?
How to Throw some light on the splay trees?
What is difference between && and & in c?
What is "Hungarian Notation"?
Differentiate between a for loop and a while loop? What are it uses?
What is the meaning of typedef struct in c?
can we have joblib in a proc ?
Can you please explain the difference between malloc() and calloc() function?
in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none