enum colors {BLACK,BLUE,GREEN}
main()
{
printf("%d..%d..%d",BLACK,BLUE,GREEN);
return(1);
}
Answer Posted / vignesh1988i
the ascii values of B,B,G will be printed..............
since these black,blue and green are strings given directly
in the printf statements..... so the base address will be
going to the function definition of printf......
Is This Answer Correct ? | 0 Yes | 13 No |
Post New Answer View All Answers
Explain how do you declare an array that will hold more than 64kb of data?
How are variables declared in c?
What does the format %10.2 mean when included in a printf statement?
What is the difference between pure virtual function and virtual function?
Explain pointers in c programming?
What are the functions to open and close the file in c language?
Can you add pointers together? Why would you?
What is methods in c?
What is the meaning of && in c?
What extern c means?
How can you be sure that a program follows the ANSI C standard?
Write programs for String Reversal & Palindrome check
What does c mean in standard form?
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.
#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); }