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 / niranjan kumar niraj
d)none of the above
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is #define?
Is a pointer a kind of array?
Can you write a programmer for FACTORIAL using recursion?
What is wrong with this program statement?
what do you mean by enumeration constant?
What are the Advantages of using macro
Explain how do you use a pointer to a function?
Why structure is used in c?
Explain the use of keyword 'register' with respect to variables.
Why c is a procedural language?
Why do we need volatile in c?
What are shell structures used for?
What type is sizeof?
Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
How can I convert a number to a string?