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
What does %p mean?
program to convert a integer to string in c language'
What is formal argument?
What is enumerated data type in c?
How can you determine the size of an allocated portion of memory?
When c language was developed?
Why do we need a structure?
What does != Mean in c?
Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?
how to execute a program using if else condition and the output should enter number and the number is odd only...
If I have a char * variable pointing to the name of a function ..
Define and explain about ! Operator?
Explain enumerated types.
What does a function declared as pascal do differently?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters