Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / shahab

# include<stdio.h>--- It searches one directory i.e
specified list of directory.
# include"stdio.h"---- It searches two i.e specified list
of directory & current directory.

Is This Answer Correct ?    66 Yes 10 No

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

Answer / mytri

#include<stdio.h>--Search from current directory
#include"stdio.h"--Search from list of directories that are
included in path

Is This Answer Correct ?    61 Yes 28 No

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

Answer / mini bangar

when we write #include<stdio.h> preprocessor search for it in include directory directly.but when we write "stdio.h" precessor start searching for this header file from current directoryand then in parent directories.

Is This Answer Correct ?    25 Yes 5 No

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

Answer / sreekanth

#include "stdio.h"
The compiler will search for a particular stdio.h in the
current working directory only

where as <stdio.h> the complier looks into default dir.
which is in most cases /include/lib or you can define this
directory by your own.

Is This Answer Correct ?    30 Yes 14 No

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

Answer / sanjay chandra

#include<stdio.h> /* stdio.h is searched in c:\TCP\INCLUDE
folder. If not found gives compilation error

#include "stdio.h" first searches for stdio.h in
c:\TCP\BIN(current diretory) . If not found searches
c:\tcp\include\ for stdio.h file

Is This Answer Correct ?    21 Yes 7 No

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

Answer / rakesh simar

include<stdio.h> is a part of hedrfile and & it means standard input(scanf) &output(printf)

Is This Answer Correct ?    3 Yes 14 No

Post New Answer

More C Interview Questions

write a program to read a number and print in words that is in sentence for example 21,219 then output is "twenty one thousand and two hundred nineteen" by using only control flow statements (only loops and switch case )?

1 Answers   TCS,


Explain what a Binary Search Tree is.

3 Answers  


Why c is faster than c++?

0 Answers  


What are the functions to open and close file in c language?

0 Answers  


Famous puzzles which are generally asked by companies during interviews ?

1 Answers   3D PLM, Yahoo,


Write a program to reverse a linked list in c.

0 Answers   DELL, HAL,


Can we declare function inside main?

0 Answers  


main() { int x=5; printf("%d %d %d\n",x,x<<2,x>>2); }

11 Answers   CISOC, CitiGroup, College School Exams Tests,


What are the average number of comparisons required to sort 3 elements?

2 Answers   DRDO,


what is the difference between c and c++?

7 Answers  


Why is c still so popular?

0 Answers  


how to convert an char array to decimal array

4 Answers  


Categories