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
Why would you use a linked list?
What is the use of threaded binary tree?
How do you check if a stack is empty or not?
What is selection in an algorithm?
Treemap orders the elements on which field?
What is a directed graph?
What do you mean by Syntax Error
Tell me why can't constant values be used to define an array's initial size
Describe avl tree or height balanced binary search tree.
How long does it take to master data structures and algorithms?
List the basic operations carried out in a linked list?
What is the best case time complexity of bubble sort?
State the difference between queues and linked lists?
Can sets contain duplicates?
Write the procedure to convert general tree to binary tree?