what is the difference between #include<stdio.h> and
#include "stdio.h" ?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Are bit fields portable?
What is your stream meaning?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
How can I invoke another program from within a C program?
Differentiate between the = symbol and == symbol?
what is the difference between <stdio.h> and "stdio.h"
14 Answers Invendis, Kanbay, Mastek, MathWorks,
Why array is used in c?
Explain can static variables be declared in a header file?
what is dangling pointer?
can we declare a function in side the structure?
write an interactive program to generate the divisors of a given integer.
how can we use static and extern?and where can we use this?