Embedded C 面试题与答案
Question: What is the purpose of the 'inline' keyword in C?Answer: The 'inline' keyword suggests to the compiler that a function should be expanded in-place at the call site, potentially improving performance.Example:
|
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
这有帮助吗? 是 否
用户评价最有帮助的内容:
- 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.