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 |
What does typeof return in c?
write a c program to find reminder and quotient if one number is divided by other.to code this program don't use more than 2 variables
What is a union?
Tell us two differences between new () and malloc ()?
How many types of functions are there in c?
write a program to find out number of on bits in a number?
Why data types in all programming languages have some range? Why ritche have disigned first time likethat?Why not a single data type can support all other types?
what does ‘Bus Error’ mean?
Explain high-order bytes.
What are the languages are portable and platform independent?Why they are like that?
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
Is flag a keyword in c?