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

What are data types in c language?

0 Answers  


What is putchar() function?

0 Answers  


Is file a keyword in c?

0 Answers  


How to write a code for implementing my own printf() and scanf().... Please hep me in this... I need a guidance... Can you give an coding for c... Please also explain about the header files used other than #include<stdio.h>...

0 Answers  


Can static variables be declared in a header file?

0 Answers  


Can a variable be both const and volatile?

0 Answers  


Why is c not oop?

0 Answers  


what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?

0 Answers  


suppose we use switch statement and we intilize years name using enum statement like(jan,feb,mar,------dec) we take integer value as an input .question is that the month which we analyz is from 0 to 11 bt if i enter 12 than how he again starts from begning and print jan

1 Answers  


how many keywords do C compile?

7 Answers   Microsoft, Practical Viva Questions,


c program to input values in a table(using 2D array) and print odd numbers from them

1 Answers  


Explain 'bit masking'?

0 Answers   EXL,


Categories