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

Answer Posted / ranjan kumar sharma

<stdio.h is a header file which availabel 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 ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a macro, and explain how do you use it?

825


What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25

1706


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

1806


What is a char in c?

761


Can you please compare array with pointer?

819


Explain a pre-processor and its advantages.

846


How do you view the path?

883


what are the facialities provided by you after the selection of the student.

1930


the question is that what you have been doing all these periods (one year gap)

1856


What is volatile variable how do you declare it?

768


Is array a primitive data type in c?

794


Explain what is #line used for?

802


What is meant by 'bit masking'?

1120


What is identifier in c?

762


typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none

974