Embedded C Interview Questions and Answers
Question: What is the purpose of the 'enum' keyword in C?Answer: The 'enum' keyword is used to define named integer constants, providing a more readable alternative to using raw integer values.Example:
|
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Is it helpful? Yes No
Most helpful rated by users:
- What is embedded C?
- What is a volatile variable in C?
- Explain the significance of the \'const\' keyword in embedded C.
- What is the purpose of the \'volatile\' keyword in C?
- Explain the concept of polling in embedded systems.