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 |
Write a program to print numbers from 1 to 100 without using loop in c?
which of the function operator cannot be over loaded a) <= b)?: c)== d)*
10 Answers Cisco, CTS, Google, HCL, HP,
m=++i&&++j(||)k++ printf("%d"i,j,k,m)
where does malloc() function get the memory?
what is mallloc()?how it works?
Explain how to reverse singly link list.
Why clrscr is used in c?
What would be an example of a structure analogous to structure c?
write a recursive program in'c'to find whether a given five digit number is a palindrome or not
Explain what is the difference between functions getch() and getche()?
Is printf a keyword?
write a program for egyptian fractions in c?