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

Trainee Asked on November 5, 2019 in C Language.
Add Comment
1 Answer(s)

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.

Reviewer Answered on November 5, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.