#include copies another file's text at that point. Use angle brackets<stdio.h> for system and library headers (searched in system paths) and quotes"mylib.h" for your own headers (searched in the current project first). Headers usually contain declarations, macros, and types, not function bodies.
Remember
#include <stdio.h> /* system / standard header */
#include "util.h" /* your project header */
Reference
Cheat Sheet
Keep these facts handy while you work with #include Directive in C.
Topic
Detail
< >
System include paths
" "
Current directory first, then system paths
Add path
gcc -I include_dir
Nesting
Headers can include headers
Code
C Examples
Compile each example with gcc file.c -std=c11 -Wall -o out. Next: #define Directive.