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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is assert and when would I use it?

797


What are the standard predefined macros?

855


What is getch c?

1067


Explain how do you declare an array that will hold more than 64kb of data?

1185


What are the different types of pointers used in c language?

812


How do I determine whether a character is numeric, alphabetic, and so on?

889


What are the advantages of Macro over function?

1645


What is the scope of global variable in c?

780


Write a program to show the change in position of a cursor using c

844


Are c and c++ the same?

816


Between macros and functions,which is better to use and why?

1829


Is Exception handling possible in c language?

1809


Why pointers are used?

854


How do we make a global variable accessible across files? Explain the extern keyword?

1661


Can stdout be forced to print somewhere other than the screen?

874