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 linked list are there?
How is hashmap o 1?
How will you check the validity of an expression containing nested parentheses?
Is radix sort stable?
Can you sort a string?
Briefly explain recursive algorithm 50 how do you search for a target key in a linked list?
What is the family trees and connection by clause?
What is binary tree? Explain its uses.
Which is the simplest file structure? (a) Sequential (b) Indexed (c) Random (a) Sequential
What is the Insertion Sort Code?.
Define left-in threaded tree?
What is java priority queue?
What does enum do?
What is meant by hashing?
Is hashtable throw concurrentmodificationexception?