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

What do the functions atoi(), itoa() and gcvt() do?

724


What are pointers? What are different types of pointers?

630


What is p in text message?

540


Write a progarm to find the length of string using switch case?

1612


Explain b+ tree?

627






what do you mean by inline function in C?

618


How can you call a function, given its name as a string?

714


Explain bit masking in c?

637


Are bit fields portable?

677


What is binary tree in c?

622


Why do some versions of toupper act strangely if given an upper-case letter?

634


What is a pointer in c plus plus?

696


Do you know null pointer?

611


How can I remove the trailing spaces from a string?

616


Why do we use int main instead of void main in c?

621