main()
{
enum{red,green,blue=6,white};
pf("%d%d%d%d", red,green,blue,white);
return 0;
}
a)0 1 6 2
b)0 1 6 7
c)Compilation error
d)None of the above
Answer Posted / rajesh
Answer : b
check it in www.codepad.org
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
How are 16- and 32-bit numbers stored?
How many levels of indirection in pointers can you have in a single declaration?
Why use int main instead of void main?
1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321
Is null always equal to 0(zero)?
What is the difference between malloc() and calloc() function in c language?
How do you determine the length of a string value that was stored in a variable?
What are the different types of control structures in programming?
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
How do you declare a variable that will hold string values?
Explain what are its uses in c programming?
What is a char in c?
Define C in your own Language.
What is the difference between fread and fwrite function?
How variables are declared in c?