Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

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:

inline int add(int a, int b) { return a + b; }
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook