enum colors {BLACK,BLUE,GREEN}
main()
{
printf("%d..%d..%d",BLACK,BLUE,GREEN);
return(1);
}
Answers were Sorted based on User's Feedback
Answer / surenda pal singh chouhan
0..1..2
Explanation:
enum assigns numbers starting from 0, if not explicitly
defined
| Is This Answer Correct ? | 31 Yes | 0 No |
Answer / 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 |
How does memset() work in C?
how to write a bubble sort program without using temporary variable?
What is integer constants?
how to write a cprogram yo get output in the form * *** ***** ******* ********* ******* ***** *** *
How to set a variable in the environment list?
52.write a “Hello World” program in “c” without using a semicolon? 53.Give a method to count the number of ones in a 32 bit number? 54.write a program that print itself even if the source file is deleted? 55.Given an unsigned integer, find if the number is power of 2?
What is ## preprocessor operator in c?
hi , please send me NIC written test papers to sbabavalli@gmail.com
What is the use of #define preprocessor in c?
The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this
What is omp_num_threads?
Is a pointer a kind of array?