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
Does hashtable allow null values?
How do you find the size of an arraylist?
Define an algorithm.
How do you balance a tree?
What is a directed graph?
Does hashmap allow null keys?
Treemap orders the elements on which field?
How does hashset maintain order?
What is a string or array type?
What is data type in data structure?
Which sorting technique is faster?
What are the major data structures used in the rdbms?
If we try to add duplicate key to the hashmap, what will happen?
How to traverse data in a linked list in forward and backward direction, write the algorithm?
What is data structure and why we need it?