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’s a signal? Explain what do I use signals for?
What is a MAC Address?
which type of question asked from c / c++ in interview.
swap 2 numbers without using third variable?
What is pointer to pointer in c with example?
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
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++;
What is volatile variable in c?
Explain what is the difference between declaring a variable and defining a variable?
In C programming, what command or code can be used to determine if a number of odd or even?
What is the most efficient way to count the number of bits which are set in an integer?
What is calloc()?