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

write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.

1770


Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

858


What are Macros? What are its advantages and disadvantages?

886


Explain what is the benefit of using an enum rather than a #define constant?

1003


What are different storage class specifiers in c?

882


i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....

1744


How many keywords are there in c?

833


What do you mean by c what are the main characteristics of c language?

807


What is the correct code to have following output in c using nested for loop?

856


Mention four important string handling functions in c languages .

863


What is else if ladder?

815


What are the rules for the identifier?

905


What does static variable mean in c?

880


What are pragmas and what are they good for?

768


What is wrong with this code?

935