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 ? | 5 Yes | 0 No |
Post New Answer View All Answers
Explain about the functions strcat() and strcmp()?
Write a c program to build a heap method using Pointer to function and pointer to structure ?
What is echo in c programming?
What is union in c?
Explain the use of keyword 'register' with respect to variables.
What are the functions to open and close the file in c language?
What does the message "automatic aggregate intialization is an ansi feature" mean?
Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent
How can I discover how many arguments a function was actually called with?
Explain what is the benefit of using enum to declare a constant?
If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..
in iso what are the common technological language?
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?
What is the best way of making my program efficient?
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.