OS Data Structures Question:
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 :)
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 :)
Previous Question | Next Question |
What is R-B tree? | What is difference between the run time polymorphism and compile time poly morphism and about virtual function? |