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 / aswini
how ur answer is c.can u explain that???
i think its b...
| Is This Answer Correct ? | 19 Yes | 1 No |
Post New Answer View All Answers
What is structure in c definition?
What should malloc(0) do?
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f
What is line in c preprocessor?
What is the use of the function in c?
What are the types of arrays in c?
What is a union?
Explain do array subscripts always start with zero?
Explain modulus operator. What are the restrictions of a modulus operator?
What kind of structure is a house?
Can we add pointers together?
What is selection sort in c?
Explain what is the most efficient way to store flag values?
How do you determine a file’s attributes?