OS Data Structures Question:

Download Job Interview Questions and Answers PDF

Why enum can not be used directly with printf function?

OS Data Structures Interview Question
OS Data Structures Interview Question

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?