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" ?

Answer Posted / jasbir singh

When we use #include<stdio.h>, the compiler will look at the
compiler's directory for stdio.h file and then include it.
When we use #include"stdio.h", it will look in the source
code's directory for the stdio.h file.

"" are basically used when the header file is placed with
the source code(means .c or .cpp files), not in the C
Compiler's 'include' directory. It is basically used to
include our own self generated header files into our program.

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of using linked list for tree construction?

1081


please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com

1768


What is the use of ?

1035


What is nested structure?

1035


What are compound statements?

1171


What is pre-emptive data structure and explain it with example?

3717


can any one provide me the notes of data structure for ignou cs-62 paper

2171


Tell us two differences between new () and malloc ()?

1180


Differentiate fundamental data types and derived data types in C.

1030


Where register variables are stored in c?

959


What is void main () in c?

1202


I came across some code that puts a (void) cast before each call to printf. Why?

1218


What is a string?

1108


Can I initialize unions?

1037


What is "Hungarian Notation"?

1106