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
Explain merge sort algorithms.
Why are b trees used?
Is quicksort a stable algorithm?
Can map contain duplicate keys?
Why quicksort is faster?
What is bubble sort in data structure?
How do treesets work internally?
How to show internal storage representation of data structure in RDBM?
Explain the sorting algorithm that is most suitable to be used with single linked list?
How to reverse a linked list iterative algorithm?
How can I study data structures and algorithms?
Define a binary tree?
Is null a binary search tree?
Does arraylist have index?
Which data structure is applied when dealing with a recursive function?