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 treemap sort automatically?
Differentiate between iterable and iterator.
How does a treemap sort?
When will we get ArrayStoreException?
What the principle of quick sort and its complexity?
What do you know about different sorting algorithms?
Provide an algorithm to reverse a linked list without using recursion.
What are the major data structures used in the following areas : network data model & hierarchical data model?
what is the difference between Linear Array and Linked List?
Mention the advantages of representing stacks using linked lists than arrays?
What is Insertion sort, selection sort, bubble sort( basic differences among the functionality of the three sorts and not the exact algorithms)?
How many types of linked lists are there?
What is the use of substring?
Differentiate between queue and stack.
Why do we study data structures?