what is the difference between #include<> and #include”…”?

Answers were Sorted based on User's Feedback



what is the difference between #include<> and #include”…”?..

Answer / kush joshi

#include<>, include the predefined header files, but
#include"...." include the userdefined header files in c
program. in this within "...." we mention the path where
the users header file is stored.

Is This Answer Correct ?    7 Yes 2 No

what is the difference between #include<> and #include”…”?..

Answer / anandi

Both #include<> and #include" " are similar used to include
the header files.....But we can use both #include<> and
#include" " for predefined header files...... At the same
time we can not use the #include<> for the user-defined
header files..... We should use #include" " for the user-
defined header files......

Is This Answer Correct ?    2 Yes 0 No

what is the difference between #include<> and #include”…”?..

Answer / shrikanth s.h

#include<>, include the predefined header files,
#include"...." include the userdefined header files where
the control will start searching the file into the current
directory, we should mention the path where it should search.

Is This Answer Correct ?    0 Yes 0 No

what is the difference between #include<> and #include”…”?..

Answer / hrpynux@gmail.com

For #include "" a compiler normally searches the folder of the file which contains that include and then the other folders. For #include <> the compiler does not search the current file's folder.

Is This Answer Correct ?    0 Yes 0 No

what is the difference between #include<> and #include”…”?..

Answer / sravankumar

The #include<> and #include" " are almost same, but #include<>
searches the included file in predefined default location(This predefined default location is often an INCLUDE environment variable that denotes the path to your include files)i.e searches the location where the predefined function are present in installed C language, whereas #include" " searches the included file in the current directory first , if not found then goes to the predefined default location.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More C Interview Questions

If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402

0 Answers  


logic for x=y^n

1 Answers   Delphi,


Study the Following Points: a.One Cannot Take the address of a Bit Field b.bit fields cannot be arrayed c.Bit-Fields are machine Dependant d.Bit-fields cannot be declared as static 1. Which of the Following Statements are true w.r.t Bit- Fields A)a,b&c B)Only a & b C)Only c D)All

3 Answers   Accenture,


What is property type c?

0 Answers  


to find out the reverse digit of a given number

6 Answers   Infosys, Microsoft, TCS, Wipro,






Write a code to generate divisors of an integer?

0 Answers   Ericsson,


a memory of 20 bytes is allocated to a string declared as char *s then the following two statements are executed: s="Etrance" l=strlen(s); what is the value of l ? a.20 b.8 c.9 d.21

4 Answers   TCS,


enum { SUNDAY, MONDAY, TUESDAY, }day; main() { day =20; printf("%d",); getch(); } what will be the output of the above program

1 Answers  


What is Function Pointer? Explain with example?

3 Answers  


What is meant by type specifiers?

0 Answers  


write a program in c language to print your bio-data on the screen by using functions.

0 Answers  


how does the C compiler interpret the following two statements p=p+x; q=q+y; a. p=p+x; q=q+y b. p=p+xq=q+y c. p=p+xq; q=q+y d. p=p+x/q=q+y

2 Answers   TCS, Tech Synergy,


Categories