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 class and object in c?

797


What is malloc() function?

816


What does %c do in c?

760


.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }

936


Why do we need volatile in c?

930


How can I invoke another program (a standalone executable, or an operating system command) from within a c program?

852


What does %2f mean in c?

941


What is a char in c?

747


How can I sort more data than will fit in memory?

866


can we have joblib in a proc ?

1915


An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode

827


What is the best style for code layout in c?

818


What is union and structure in c?

835


What is the use of header files?

808


What is an endless loop?

1034