Sail E0 Webinar
Question

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


Options:
A .  Yes
B .  No
C .  It is compiler dependent.
Answer: Option C

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.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers