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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }

956


How we can insert comments in a c program?

853


What is the difference between text and binary i/o?

775


What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers

961


How do you list files in a directory?

807


What is the auto keyword good for?

823


What are the advantages of using linked list for tree construction?

855


Is null equal to 0 in sql?

867


What are the preprocessor categories?

827


What are the types of i/o functions?

969


How do you define structure?

794


Which built-in library function can be used to match a patter from the string?

997


What does typeof return in c?

835


how we can make 3d venturing graphics on outer interface

4367


how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.

1450