---
title: "difference between  #include  <FileName> and  #include  \"FileName\" ?"  
description: "difference between  #include  <FileName> and  #include  \"FileName\" ?"  
author: "Prakash nidhi Verma"  
published: 2018-07-10  
updated: 2020-09-23  
canonical: https://www.mindstick.com/interview/23463/difference-between-include-filename-and-include-filename  
category: "education"  
tags: ["c#", "project setup", "education"]  
reading_time: 1 minute  

---

# difference between  #include  <FileName> and  #include  "FileName" ?

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.

## Answers

### Answer by 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.


---

Original Source: https://www.mindstick.com/interview/23463/difference-between-include-filename-and-include-filename

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
