what is the difference between #include<> and #include”…”?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
What are volatile variables in c?
what is c programing
write a program for even numbers?
what are # pragma staments?
In the following control structure which is faster? 1.Switch 2.If-else and which consumes more memory?
4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
plz answer....A program that takes 3 variables e.g a,b,c in as seperate parameters and rotates the values stored so that value goes a to b, b to c and c to a .
enum day = { jan = 1 ,feb=4, april, may} what is the value of may? a)4 b)5 c)6 d)11 e)none of the above
Print all numbers which has a certain digit in a certain position eg: number=45687 1 number=4 2 number=5 etc
How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?
Write a program to check whether a number is prime or not using c?
write a C code To reverse a linked list