what is the difference between #include<stdio.h> and
#include "stdio.h" ?
Answer Posted / 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 |
Post New Answer View All Answers
What is c language used for?
What is the difference between fread and fwrite function?
how should functions be apportioned among source files?
Explain how can I convert a string to a number?
Without Computer networks, Computers will be half the use. Comment.
How can you return multiple values from a function?
Explain what are linked list?
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?
What is || operator and how does it function in a program?
Explain about the constants which help in debugging?
What are unions in c?
What is a wrapper function in c?
Can we change the value of static variable in c?
In which language linux is written?