Basic and Advance C Question:
Download Questions PDF

Are enumerations really portable?

Answer:

Are enumerations really portable? Aren't they Pascalish?

Enumerations were a mildly late addition to the language (they were not in K&R1), but they are definitely part of the language now: they're in the C Standard, and all modern compilers support them. They're quite portable, although historical uncertainty about their precise definition led to their specification in the Standard being rather weak

Download C Programming Interview Questions And Answers PDF

Previous QuestionNext Question
What are pointers really good for, anyway?C is not C++. Typedef names are not automatically generated