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
Can we sort hashmap?
What is a class user?
Define a relation?
Which is faster hashmap or treemap?
Explain the most efficient method to reverse a linked list?
What do you mean by separate chaining?
Can we store null in arraylist?
Which interfaces are implemented by concurrentskiplistset?
Who invented merge sort?
Is hashset a collection?
What is array indexing?
What things you would care about to improve the performance of application if its identified that its db communication that needs to be improved?
Which sorting algorithm is the slowest?
Explain the Linked List
What do you mean by articulation point?