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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is operator promotion?

622


What is wrong with this program statement?

601


write a program in c language to print your bio-data on the screen by using functions.

6239


What standard functions are available to manipulate strings?

552


What is the difference between new and malloc functions?

570






Is there anything like an ifdef for typedefs?

694


What is typeof in c?

596


How are Structure passing and returning implemented by the complier?

702


The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this

2916


4. main() { int c=- -2; printf("c=%d",c); }

1362


What are the uses of null pointers?

586


Explain what will the preprocessor do for a program?

591


What is variable initialization and why is it important?

609


Explain what is wrong with this program statement?

614


Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;

601