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
What does map stand for?
What do you mean by priority queue?
Is stack a dynamic data structure?
List the types of tree.
Describe the complexity of Quick Sort
How do you explain bubble sort?
What is dequeue in data structure?
What is the difference between hashmap and arraylist?
How many types of data structures are used?
what is the difference between singly and doubly linked lists?
If we try to add duplicate key to the hashmap, what will happen?
What is the time complexity of hashmap get () and put () method?
Explain quick sort?
Does hashset guarantee order?
What is collection sort?