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 is the default capacity of hashmap?
What is significance of ” * ” ?
What is entryset method in map?
Define an algorithm. What are the types of algorithms?
What does each entry in the link list called?
How does a selection sort work for an array?
What is difference between hashset and linkedhashset?
Which is the parent class of list
Define hashing?
Difference between calloc and malloc in data structures?
Differentiate between set and map.
What is homogeneous array?
Which sorting is best?
What do you mean by structure property in a heap?
What is a data structure definition?