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
Explain in brief a linked list.
What do you mean by complexity of search algorithm?
What is the default capacity of hashmap?
What is a bubble sort and how do you perform it?
There are 2 int type array data type. One is containing 50 elements, and another one is containing 30 elements. Can we assign the array of 50 elements to an array of 30 elements?
What is a circular singly linked list?
What are arrays give example?
How to find 3rd element from end in a linked list in one pass?
Explain Queue
List the data structures which are used in rdbms, network data modal, and hierarchical data model.
Does hashset allow duplicates?
Can tuple be sorted?
What is a property class?
How would you swap the Kth node from beginning with Kth node from end in a Linked List.
Why is waste sorting important?