Why enum can not be used directly with printf function?
Answer Posted / rashmi p
enum is not an basic data type like int,float and all it is
a user defined data type, and printf function works only
with basic data type, we 've overload printf function to
make it work for user defined data types :)
| Is This Answer Correct ? | 21 Yes | 2 No |
Post New Answer View All Answers
how to add an item to the beginning of the list?
What is a treemap used for?
What is example of data?
What is a data structure? What are the types of data structures?
Which collection is used for sort?
Can arraylist contain duplicates?
What is circular queue in data structure?
In tree construction which is the suitable efficient data structure?
How do you insert a new item in a binary search tree?
Are hash tables ordered?
Is an arraylist a vector?
Is Arraylist faster than Array? Why?
What is data structure and why we need them?
Define a Deque?
What are the advantages and disadvantages of linked list?