enum colors {BLACK,BLUE,GREEN}
main()
{
printf("%d..%d..%d",BLACK,BLUE,GREEN);
return(1);
}
Answer Posted / kripal singh thakur
0..1..2
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
List the difference between a 'copy constructor' and a 'assignment operator' in C?
Explain what is wrong in this statement?
what do you mean by enumeration constant?
HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????
What is floating point constants?
which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above
What are the rules for the identifier?
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
Explain what are linked list?
What do you mean by invalid pointer arithmetic?
What are the modifiers available in c programming language?
What are conditional operators in C?
what are the facialities provided by you after the selection of the student.
What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?
How can you find the exact size of a data type in c?