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

in C-programming language without using printf statement can we get output r not ? if yes how and if no also how ?

11 Answers   IBM,


Explain About fork()?

0 Answers   TISL,


What is an lvalue in c?

0 Answers  


Unsigned char c; for ( c=0;c!=256;c++2) printf("%d",c); No. of times the loop is executed ?

8 Answers   Mascot, TCS,


How. To pass the entrance test

1 Answers   Tech Mahindra,






The code is::::: if(condition) Printf("Hello"); Else Printf("World"); What will be the condition in if in such a way that both Hello and world are printed in a single attempt?????? Single Attempt in the sense... It must first print "Hello" and it Must go to else part and print "World"..... No loops, Recursion are allowed........................

14 Answers   HOV Services, IBM, Potty,


In a header file whether functions are declared or defined?

0 Answers   TISL,


Tell me a C program to display the following Output? 1 1 1 1 1 2 2 2 2 3 3 3 4 4 5

3 Answers  


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

4 Answers  


What are the differences between Structures and Arrays?

0 Answers   TCS,


general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only

0 Answers  


How to write the code of the program to swap two numbers with in one statement?

2 Answers  


Categories