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

Answers were Sorted based on User's Feedback



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

Answer / p srinivas rao

In the first case ie. <stdio.h>,the compiler will search
for the presence of the file named stdio.h in the include
directory as well as in the current directory.
Whereas in the second case("stdio.h"),compiler will search
only in the current directory.

Is This Answer Correct ?    13 Yes 1 No

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

Answer / ramakrishna yechuri

In the first case ie. <stdio.h>,the compiler will search
for the presence of the file named stdio.h in the
current directory.
Whereas in the second case("stdio.h"),compiler will search
in all the directories.

Is This Answer Correct ?    5 Yes 1 No

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

Answer / krishnamurty das

<stdio.h> is the System Include so while compilation it
will be searched in the system include folder and as well
as the current folder. "stdio.h" is the user include so,
will be searched in the current directory only.

Is This Answer Correct ?    4 Yes 2 No

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

Answer / pramod

<stdio.h> -----search in standard path defined in PATH variable

"stdio.h" -----search in current directory then in standard
PATH

Is This Answer Correct ?    2 Yes 0 No

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

Answer / amit

<stdio.h> means it will search in current directories
"stdio.h" means it will search in entire drive. ie current
drive.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More OOPS Interview Questions

What is oops in simple words?

0 Answers  


What is polymorphism in oop example?

0 Answers  


diff between Virtual mathod and abstract method?

1 Answers  


How to hide the base class functionality in Inheritance?

0 Answers   Viscus Infotech,


why c++ is a highlevel language

3 Answers   Satyam, Tech Mahindra,






What does the keyword "static" mean?

4 Answers   TCS,


Can we have inheritance without polymorphism?

0 Answers  


How is class defined?

0 Answers  


What is solid in oops?

0 Answers  


Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer

0 Answers  


1.what are two type of classe members called? 2.what is data hiding and data encapsulation? 3.how do you make a class member visible aouside its class? 4.what is the default visibility of a class data member? 5.what are the advantages of oop over the structured programing?

6 Answers  


what is pointers

7 Answers   Exilant,


Categories