difference between #include <FileName> and #include "FileName" ?

Last updated:9/23/2020 1:17:24 PM

1 Answers

Prakash nidhi Verma
Prakash nidhi Verma

Header file:

#include<File name>

- searches for directories in the files which is pre-defined by compiler/ environment. 

- This method is normally used to include standard library header files.

#include"Filename"  

- searches for the file which is defined by programmer itself.

- this method is normally used to include user defined header files.

Answer