Home » Blog » What is the behavioral difference when include header file in double quotes (“”) and angular braces ()?

What is the behavioral difference when include header file in double quotes (“”) and angular braces ()?

When the Header file includes within double quotes (“”), compiler search first in the working directory for the particular header file. If not found then in the built-in the include path. But when the Header file includes within angular braces (<>), the compiler only searches in the working directory for the particular header file.

Leave a Reply

Your email address will not be published.