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 |
Explain what is the most efficient way to store flag values?
what is the diff b/w static and non static variables in C. Give some examples plz.
Why do we use stdio h and conio h?
What is a macro, and explain how do you use it?
what is the difference between. system call and library function?
Why & is used in c?
x=2,y=6,z=6 x=y==z; printf(%d",x)
13 Answers Bharat, Cisco, HCL, TCS,
void main() { int a=1; while(a++<=1) while(a++<=2); }
what is the difference between procedure oriented and object oriented progaming language
How can I find out the size of a file, prior to reading it in?
Multiply an Integer Number by 2 Without Using Multiplication Operator
Is that possible to store 32768 in an int data type variable?