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 malloc() function?

634


Explain how can I pad a string to a known length?

651


Why c is a procedural language?

580


What is an identifier?

621


Explain how does free() know explain how much memory to release?

571






Differentiate between new and malloc(), delete and free() ?

669


How do you sort filenames in a directory?

710


What is the process of writing the null pointer?

605


What is the purpose of clrscr () printf () and getch ()?

591


Explain what are run-time errors?

606


What is the time and space complexities of merge sort and when is it preferred over quick sort?

674


What do you understand by normalization of pointers?

621


How to draw the flowchart for structure programs?

8760


What is time complexity c?

565


Can we declare variables anywhere in c?

576