OS Data Structures Question:
Download Questions PDF

Why enum can not be used directly with printf function?

Answer:

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 :)

Download OS Data Structures Interview Questions And Answers PDF

Previous QuestionNext Question
What is R-B tree?What is difference between the run time polymorphism and compile time poly morphism and about virtual function?