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

Explain what standard functions are available to manipulate strings?

0 Answers  


for(;;) printf("C language") What is out put of above??

2 Answers   Practical Viva Questions,


What is the Difference between Class and Struct?

10 Answers   Motorola,


What is property type c?

0 Answers  


write a programming in c language, 1 3 5 7 9 11

2 Answers   NIIT,






write a program in reverse the string without using pointer,array,global variable declaration,lib fun only using a function?

5 Answers   HCL,


What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

0 Answers  


what is the advantage of using SEMAPHORES to ORDINARY VARIABLES???

2 Answers   NSN,


write a progam to display the factors of a given number and disply how many prime numbers are there?

2 Answers  


Why are all header files not declared in every c program?

0 Answers  


write a program for 4 4 3 3 3 3 2 2 2 2 2 2 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 2 2 2 2 2 2 3 3 3 3 4 4

1 Answers  


Method Overloading exist in c ?

3 Answers   Wipro,


Categories