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
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
What does *p++ do?
What is the purpose of scanf() and printf() functions?
What is "Hungarian Notation"?
Explain the difference between call by value and call by reference in c language?
How can a process change an environment variable in its caller?
How can I change the size of the dynamically allocated array?
What are all different types of pointers in c?
Can you please explain the difference between syntax vs logical error?
In C, What is the #line used for?
Explain what are multidimensional arrays?
What is the meaning of typedef struct in c?
how to construct a simulator keeping the logical boolean gates in c
What is %g in c?
Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?