Can C preprocessors have compiler-specific features?
a) Yes
b) No
c) Only in some versions of C
d) Only for macros
Answer:
a) Yes
Explanation:
Yes, C preprocessors can have compiler-specific features. While there are standard preprocessor directives defined by the C language, some compilers may introduce additional features or extensions that are specific to that compiler. These may include additional predefined macros or other directives that provide enhanced functionality.
Understanding compiler-specific features is important for writing portable code that can be compiled with different compilers.