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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

write a c program for swapping two strings using pointer

2083


What is the meaning of c in c language?

586


What is the difference between a string and an array?

700


What should malloc(0) do?

608


a c code by using memory allocation for add ,multiply of sprase matrixes

2290






Which programming language is best for getting job 2020?

598


What the different types of arrays in c?

606


Why do we use c for the speed of light?

599


How many identifiers are there in c?

571


Is there anything like an ifdef for typedefs?

694


How does #define work?

638


A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream

660


Is c language still used?

528


write a c program to calculate sum of digits till it reduces to a single digit using recursion

2709


What is the use of function in c?

702