Language

File Inclusion In C Programming Language



Technotip

https://technotip.com/8527/file-inclusion-in-c-programming-language/

In today’s video tutorial lets learn more about include directive or preprocessor statement.

What We Learn?
1. Two ways of including/importing files.
2. Why write related code in separate file.
3. Example program to illustrate including and working with multiple files.

Two Ways To Include Files
There are 2 ways to include files in C.
1. Using angular brackets: Angular Brackets are used to import or include standard library files. In this case the linker looks for the included file in the standard library file storage directory / folder.

2. Using Double Quotes: When filename is wrapped with double quotes, the linker looks for the file inside current working directory. It also means that the included file is written by the user and is not a part of standard library file.

C Programming Interview / Viva Q&A List
https://technotip.com/6378/c-programming-interview-viva-qa-list/

C Programming: Beginner To Advance To Expert
https://technotip.com/6086/c-programming-beginner-to-advance-to-expert/ .