Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: What is the purpose of a preprocessor in C?
Answer: The preprocessor performs tasks such as macro substitution, file inclusion, and conditional compilation before the actual compilation of the code.

Example:

#define PI 3.14
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook