what is the difference between <stdio.h> and "stdio.h"

Answers were Sorted based on User's Feedback



what is the difference between <stdio.h> and "stdio.h"..

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

what is the difference between <stdio.h> and "stdio.h"..

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

what is the difference between <stdio.h> and "stdio.h"..

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

what is the difference between <stdio.h> and "stdio.h"..

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

what is the difference between <stdio.h> and "stdio.h"..

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

what is the difference between <stdio.h> and "stdio.h"..

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

what is the difference between <stdio.h> and "stdio.h"..

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

what is the difference between <stdio.h> and "stdio.h"..

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

what is the difference between <stdio.h> and "stdio.h"..

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

what is the difference between <stdio.h> and "stdio.h"..

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

Post New Answer

More C Interview Questions

write a program in c to read array check element is present or not?

1 Answers  


what is d pitfalls of registers variables

3 Answers   TCS,


i=20,k=0; for(j=1;j<i;j=1+4*(i/j)) { k+=j<10?4:3; } printf("%d", k);

8 Answers   HCL,


prototype of sine function.

2 Answers   Cadence,


Explain can you assign a different address to an array tag?

0 Answers  






How can you avoid including a header more than once?

0 Answers  


how to connect oracle in C/C++.

3 Answers   TCS, Wipro,


write an interactive program to generate the divisors of a given integer.

7 Answers   TCS,


how to find out the biggest element (or any other operation) in an array which is dynamic. User need not to mention the array size while executing.

3 Answers  


You have an int array with n elements and a structure with three int members. ie struct No { unsigned int no1; unsigned int no2; unsigned int no3; }; Point1.Lets say 1 byte in the array element is represented like this - 1st 3 bits from LSB is one number, next 2 bits are 2nd no and last 3 bits are 3rd no. Now write a function, struct No* ExtractNos(unsigned int *, int count) which extracts each byte from array and converts LSByte in the order mentioned in point1.and save it the structure no1, no2, no3. in the function struct No* ExtractNos(unsigned int *, int count), first parameter points to the base address of array and second parameter says the no of elements in the array. For example: if your array LSB is Hex F7 then result no1 = 7, no2 = 2, no3 = 7. In the same way convert all the elements from the array and save the result in array of structure.

2 Answers   Qualcomm,


main() { unsigned int k = 987 , i = 0; char trans[10]; do { trans[i++] =(char) (k%16 > 9 ? k%16 - 10 + 'a' : '\0' ); } while(k /= 16); printf("%s\n", trans); }

4 Answers   Vector,


How to explain the final year project as a fresher please answer with sample project

0 Answers  


Categories