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 NULL pointer?
What is the difference between union and structure in c?
What is meant by type specifiers?
The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
How can a process change an environment variable in its caller?
What is a nested formula?
What is %d called in c?
Why is c called c?
Explain what are global variables and explain how do you declare them?
How are portions of a program disabled in demo versions?
Which is better between malloc and calloc?
Explain high-order and low-order bytes.
What are the advantages of using macro in c language?
I just typed in this program, and it is acting strangely. Can you see anything wrong with it?