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

Write a program to print factorial of given number using recursion?

1020


What is a global variable in c?

1019


What is the use of ?: Operator?

1140


Can the sizeof operator be used to tell the size of an array passed to a function?

1120


Is the exit() function same as the return statement? Explain.

1111


Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings

2758


What is the equivalent code of the following statement in WHILE LOOP format?

1307


How to throw some light on the b tree?

1091


What is variable and explain rules to declare variable in c?

1101


In a byte, what is the maximum decimal number that you can accommodate?

1142


How can I make it pause before closing the program output window?

1045


What's a good way to check for "close enough" floating-point equality?

1169


What is the argument of a function in c?

1056


Explain the difference between structs and unions in c?

1028


How will you divide two numbers in a MACRO?

1141