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

Answers were Sorted based on User's Feedback



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

Answer / vignesh1988i

in case of <stdio.h> this will be checking only the folder
containing C compiler...... as we will be describing the
path in the directories option in the IDE.....


in case of "stdio.h" this will be checking the entire hard
disk there by deleting the path given in the directories
explicitly .....


thank u

Is This Answer Correct ?    16 Yes 0 No

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

Answer / jasbir singh

When we use #include<stdio.h>, the compiler will look at the
compiler's directory for stdio.h file and then include it.
When we use #include"stdio.h", it will look in the source
code's directory for the stdio.h file.

"" are basically used when the header file is placed with
the source code(means .c or .cpp files), not in the C
Compiler's 'include' directory. It is basically used to
include our own self generated header files into our program.

Is This Answer Correct ?    10 Yes 1 No

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

Answer / n

implementation defined. read manual for the compiler you use.
if include " " fails, then include < > is tried

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Are bit fields portable?

0 Answers   EXL,


What is your stream meaning?

0 Answers  


hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell

0 Answers   Reliance,


How can I invoke another program from within a C program?

8 Answers  


Differentiate between the = symbol and == symbol?

0 Answers  


what is the difference between <stdio.h> and "stdio.h"

14 Answers   Invendis, Kanbay, Mastek, MathWorks,


Why array is used in c?

0 Answers  


Explain can static variables be declared in a header file?

0 Answers  


what is dangling pointer?

1 Answers   LG Soft,


can we declare a function in side the structure?

2 Answers   HCL,


write an interactive program to generate the divisors of a given integer.

7 Answers   TCS,


how can we use static and extern?and where can we use this?

3 Answers   Excel,


Categories