UrbanPro

Learn C Language from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

What is the difference between #include and #include" "

Asked by Last Modified  

Follow 0
Answer

Please enter your answer

Home Tutor

first one is used for predefined header files.. and second is used for user defined header files
Comments

14yrs exp Math Computers Science English Hindi Teaching. Improvement In Scores Guaranteed Fee REFUND

the location where the header files reside. First #include - indicates that the headers are in the std C libraries installation folder. ------------------ #include" " generally indicates the header files that the developed created, generally reside in the local folder.
Comments

C/C++ & UNIX Shell Scripting Programmer & Tutor

First variant with angled brackets :- This variant is used for system header files. It searches for a file named file in a list of directories specified by you, then in a standard list of system directories. You specify directories to search for header files with the command option `-I' #include "file.h": This...
read more
First variant with angled brackets :- This variant is used for system header files. It searches for a file named file in a list of directories specified by you, then in a standard list of system directories. You specify directories to search for header files with the command option `-I' #include "file.h": This variant is used for header files of your own program. It searches for a file named file first in the current directory, then in the same directories used for system header files. The current directory is the directory of the current input file. It is tried first because it is presumed to be the location of the files that the current input file refers to. (If the `-I-' option is used, the special treatment of the current directory is inhibited.) read less
Comments

Software Developer and Trainer with 10 years of experience

If your header file and code file is in the same director use include "myheader.h". This is mostly used of you define your own custom header file. On the other hand, include followed by with anglular brackets greaterthan-> and less than - read more
If your header file and code file is in the same director use include "myheader.h". This is mostly used of you define your own custom header file. On the other hand, include followed by with anglular brackets greaterthan-> and less than -read less
Comments

embedded system trainer

#include" " is used for header files in current directory, The compiler while resolving symbols searches the current directory for the header file. the other case of is used for standard directory searches of header files i.e as usually directed by makefiles.
Comments

Computer Engineering / Diploma Tutor

Just a different syntax to including file in a program
Comments

View 4 more Answers

Related Questions

What is the difference between ++var and var++?
First one is present increment and second one is the post incremental t of the variable. Both increases value of var to one. The difference between pre and post increment is given in below example. Int...
Chittaranjan
What is "&" called in C language?
The Address Operator in C also called a pointer. This address operator is denoted by “&”. This & symbol is called an ampersand.
Soumya
0 0
5
Why are operating systems written in C? Why aren't other languages used?
low-level access to hardware, performance, and historical reasons.
Chandramami
0 0
5
What is C language?
C is a versatile and powerful procedural programming language developed by Dennis Ritchie at Bell Labs in the early 1970s. Known for its simplicity, efficiency, and low-level access to memory, C has become...
Vikram
0 0
7
How can I try to remember the coding in C language?
One shouldn't try to remember the coding. The right approach is to understand the logical solution to the problem.
Chinmayee
0 0
5

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Do You Know How Is Size Of Structure Defined?
Size of the structure is defined based on multiplies of bigger data type member in the structure. Example: If a structure contains integer, char, short data type, then size of the Structure will be multiples...

Software Development Training In Jaipur
Satyam Web Solution provides website designing &development and software designing &development training in Jaipur for various stream’s students. MCA 6 month Industrial Training/Internship B....

Everything about printf in C language
What is printf and from where it comes from in C code.? You must have used printf so many times in your Car programs but do you really know everything about printf? Let's see. What is the full form...

C Program-Prime Number
/*WAP to print a number entered by the user is prime or not*/ //Header files #include<stdio.h>#include<conio.h> //Main function void main(){ int num,i; //Function for clearing screen clrscr();...

Looking for C Language Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for C Language Classes?

The best tutors for C Language Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn C Language with the Best Tutors

The best Tutors for C Language Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more