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 are data types in c language?
What is putchar() function?
Is file a keyword in c?
How to write a code for implementing my own printf() and scanf().... Please hep me in this... I need a guidance... Can you give an coding for c... Please also explain about the header files used other than #include<stdio.h>...
Can static variables be declared in a header file?
Can a variable be both const and volatile?
Why is c not oop?
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?
suppose we use switch statement and we intilize years name using enum statement like(jan,feb,mar,------dec) we take integer value as an input .question is that the month which we analyz is from 0 to 11 bt if i enter 12 than how he again starts from begning and print jan
how many keywords do C compile?
7 Answers Microsoft, Practical Viva Questions,
c program to input values in a table(using 2D array) and print odd numbers from them
Explain 'bit masking'?