what is the difference between <stdio.h> and "stdio.h"
Answers were Sorted based on User's Feedback
Answer / shuvransu_banerjee
<stdio.h> is a header file which available in include
directory of the system. When we write #include<stdio.h>
preprocessor search for it in include directory directly
and not out of this directory. But when we write "stdio.h"
precessor start searching for this header file from current
directory and then in parent directories. So if we write
our own stdio.h in the current directory and include in
program as #include"stdio.h" then our header will be
included instead of system header.
Is This Answer Correct ? | 313 Yes | 16 No |
Answer / vikesh
if angular brackets <> are used it indicates that the file
is to be found in one if the standard directories in the
system.
the quotes " " surrounding the file name indicates that an
alternative set of directive should be searched to find the
file in question
Is This Answer Correct ? | 57 Yes | 12 No |
Answer / vishal
stdio.h> is a header file which available in include
directory of the system. When we write #include<stdio.h>
preprocessor search for it in include directory directly
and not out of this directory. But when we write "stdio.h"
precessor start searching for this header file from current
directory and then in parent directories. So if we write
our own stdio.h in the current directory and include in
program as #include"stdio.h" then our header will be
included instead of system header.
Is This Answer Correct ? | 38 Yes | 8 No |
Answer / madhu
the <stdio.h> is located a particular Directory which is
having in Header Direcectory. But "Stdio.h" is can we
activate any where of other Directories.
Is This Answer Correct ? | 72 Yes | 45 No |
Answer / bathakarai
The preprocessor <stdio.h> means that the directory is
predefined one.
but we specify "stdio.h" in their program that indicates
that the preprocessor is an userdefind one
Is This Answer Correct ? | 26 Yes | 3 No |
Answer / shipra
#include<stdio.h> this command look for the file stdio.h
in the specified list of directories only
and
#include"stdio.h" would look the file stdio.h in the current
directory as well as the specified list of directories as
mentioned in the include search path
Is This Answer Correct ? | 13 Yes | 5 No |
Answer / puneet
stdio.h> is a header file which available in include
directory of the system. When we write #include<stdio.h>
preprocessor search for it in include directory directly
and not out of this directory. But when we write "stdio.h"
precessor start searching for this header file from current
directory and then in parent directories. So if we write
our own stdio.h in the current directory and include in
program as #include"stdio.h" then our header will be
included instead of system header.
Is This Answer Correct ? | 18 Yes | 13 No |
Answer / kiran shelke,aurangabad
When we write <stdio.h> that mean we can access this header
file from the include directory,but if this header file is
not present in this folder and its available in other
directory then it not access it.But when we write the
"stdio.h" then we can access this header file which
available in any other directory..
In short #include"stdio.h" is best option for ERROR free program
Is This Answer Correct ? | 5 Yes | 1 No |
Answer / ranjan kumar sharma
<stdio.h is a header file which availabel in include directory of the system.
when we write #include<stdio.h> preprocessor search for it in include directory
directly and not out of this directory .But when we write "stdio.h" precessor
start searching for this header file from current directory and then in parent
directories. So if we write our own stdio.h in the current directory and include
in program as #include"stdio.h" then our header will be included instead of system
header.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / subrata kumer paul.
<stdio.h> searches in standard C library locations, whereas
"stdio.h" searches in the current directory as well.
Is This Answer Correct ? | 0 Yes | 0 No |
Write a c pgm for leap year
11 Answers College School Exams Tests, IBM, TCS,
main() { int a,b; printf("%d,%d",scanf("%d%d",&a,&b)); } => do u mean above program's output... =>output will be:2,whatever you enter value for b. =>because scanf is a library fn which will return how many arguements it processes, and second value you are right mr.Satya but i found my self unable to understand that for the first time scanf returns the no of successful matches but how for the second time it returns the value of 'b'.while a function should return the same 'r' value every time.
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?
What header files do I need in order to define the standard library functions I use?
What is the code in while loop that returns the output of given code?
Define C in your own Language.
Prove or disprove P!=NP.
write c program without semicolon
11 Answers MindTech, TCS, Wipro,
Can you explain the four storage classes in C?
what is the function of void main()?
Explain how can I convert a number to a string?
What is 2 d array in c?