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’s a signal? Explain what do I use signals for?

1 Answers  


What is a MAC Address?

1 Answers  


which type of question asked from c / c++ in interview.

2 Answers  


swap 2 numbers without using third variable?

0 Answers   IBS,


What is pointer to pointer in c with example?

0 Answers  


4.A function 'q' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as: A)int (*q(char*)) [] B)int *q(char*) [] C)int(*q)(char*) [] D)None of the Above

6 Answers   Accenture,


Determine the code below, tell me exactly how many times is the operation sum++ performed ? for ( i = 0; i < 100; i++ ) for ( j = 100; j > 100 - i; j--) sum++;

5 Answers   ITCO, Wipro,


What is volatile variable in c?

1 Answers  


Explain what is the difference between declaring a variable and defining a variable?

1 Answers  


In C programming, what command or code can be used to determine if a number of odd or even?

1 Answers  


What is the most efficient way to count the number of bits which are set in an integer?

1 Answers  


What is calloc()?

1 Answers   Adobe,


Categories