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 is the time and space complexities of merge sort and when is it preferred over quick sort?
Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.
What is a rvalue?
What is malloc return c?
How to explain the final year project as a fresher please answer with sample project
What are the characteristics of arrays in c?
the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?
Is there any possibility to create customized header file with c programming language?
What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?
What is the use of parallelize in spark?
Explain Function Pointer?
differentiate built-in functions and user – defined functions.
What is else if ladder?
please send me the code for multiplying sparse matrix using c
Explain what is meant by high-order and low-order bytes?