What is the difference between #include<stdio.h> and #include"stdio.h" ?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the difference between #include<stdio.h> and #include"stdio.h" ??

13th Jan 2017, 6:11 PM
Tathagato Das
Tathagato Das - avatar
2 Answers
+ 2
#include <stdio.h> only checks the default C++ directories for that file. #include "stdio.h" also checks the program file's directory and (depending on the compiler and it's settings) other custom ones.
13th Jan 2017, 6:22 PM
Maike
0
<header> it first check library files in std include folder then program folder. "header" in this vice versa first in program folder then std lib folder.
13th Jan 2017, 7:27 PM
Dipak Chauhan
Dipak Chauhan - avatar