Why enum can not be used directly with printf function?
Answer Posted / sudip
main()
{
enum color{
red,black,green,yellow,blue,pink,white
};
printf("%d",green);
printf("%d",yellow);
}
this gives me output.... 23
we can use it....?/ Correct me if I am wrong...
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Which process places data at the back of the queue?
What is data structure what is need of it?
What are different techniques for making hash function?
Is array a data structure?
Can arraylist be null?
Describe full binary tree and complete binary tree.
How many passes does bubble sort need?
What is data type in data structure?
What is a hash in programming?
What do you mean by overflow and underflow?
What is hashing in cyber security?
Define depth and height of a node?
What is linked list with example?
What is the space complexity of bubble sort?
In tree construction which is the suitable efficient data structure?