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 many types of arrays are there?
List the applications of stacks?
What is arraylist load factor?
Is an arraylist an object?
Differentiate between comparable and comparator.
Which is the fastest sorting?
Does treemap preserve order?
What is the difference between binary tree and binary search tree?
Can hashset contain duplicates?
Which is the parent class of list
What is linear-logarithm chasm?
Explain the uses of binary tree.
What is declaring array?
What type of variable is age?
What do you mean by the term “percolate up”?