what is difference between #include<stdio.h> and
#include"stdio.h"

Answers were Sorted based on User's Feedback



what is difference between #include<stdio.h> and #include"stdio.h"..

Answer / bharatgs7

<stdio.h> means its a in-built header file, "stdio.h" means
its an user-defined header file

Is This Answer Correct ?    11 Yes 3 No

what is difference between #include<stdio.h> and #include"stdio.h"..

Answer / somichoudhary

In #include<stdio.h>
The c compiler search the header files in Tc-Bin library

But in "stdio.h">
search the header files in local c: folder

Is This Answer Correct ?    7 Yes 1 No

what is difference between #include<stdio.h> and #include"stdio.h"..

Answer / ep

#include <stdio.h>
Will look for the header file in the standard include paths.

#include "stdio.h"
Will look for the file first in the current directory, then
it wil look for it in the standard include paths, if not found.

Is This Answer Correct ?    2 Yes 0 No

what is difference between #include<stdio.h> and #include"stdio.h"..

Answer / jeke kumar gochhayat

in #include<stdio.h> , stdio.h is a predefined header file
in the include directory.
but in #include"stdio.h" is a userdefined header files
but functions are same

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

An array name contains base address of the array. Can we change the base address of the array?

4 Answers   NMIMS, Wipro,


what is bitwise operator?

1 Answers   IBM,


how to impliment 2 or more stacks in a single dimensional array ?

1 Answers   iFlex, Microsoft,


Explain what is a pragma?

0 Answers  


how can u print a message without using any library function in c

1 Answers   NIIT,






What are the different types of control structures?

0 Answers  


#include main() { int i=1,j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; } }

6 Answers   ME,


Can we use any name in place of argv and argc as command line arguments?

0 Answers  


Explain what’s a signal? Explain what do I use signals for?

0 Answers  


What is true about the following C Functions (a) Need not return any value (b) Should always return an integer (c) Should always return a float (d) Should always return more than one value

2 Answers   DynPro, TCS,


What is the output of the program given below #include<stdio.h> main() { char i=0; for(;i>=0;i++) ; printf("%d\n",i); }

21 Answers   ADITI, Student, TCS,


#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }

0 Answers   Wilco,


Categories