OS Data Structures Question:

Why enum can not be used directly with printf function?

Tweet Share WhatsApp

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 PDF Read All 14 OS Data Structures Questions
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?