C Preprocessor

Q1: Will it result in to an error if a header file is included twice?

A Yes

B No

C It is compiler dependent.

ANS:C - It is compiler dependent.

Unless the header file has taken care to ensure that if already included it doesn't get included again.

Turbo C, GCC compilers would take care of these problems, generate no error.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.