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 |
Finding first/last occurrence of a character in a string without using strchr( ) /strrchr( ) function.
how does a general function , that accepts an array as a parameter, "knows" the size of the array ? How should it define it parameters list ?
why we wont use '&' sing in aceesing the string using scanf
Explain how can I convert a number to a string?
1. What will be the output of the following programs. a) #include <stdio.h> Main() { Int x=4; While(x==1) { X=x-1; Printf(ā%dā,x); --x; } }
Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;
Does c have circular shift operators?
WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.
name the language for writing c compiler?
Is there any possibility to create customized header file with c programming language?
What is an example of structure?
To what value are pointers initialized? 1) NULL 2) Newly allocated memory 3) No action is taken by the compiler to initialize pointers.