What is the meaning When we write "#include" what is # and
what does include does there???
Answers were Sorted based on User's Feedback
Answer / mannu
# represents that it is a preprocessor directiveee.
| Is This Answer Correct ? | 6 Yes | 6 No |
Answer / sanjeev
The #include directive tells the preprocessor to treat the contents of a specified file as if those contents had appeared in the source program at the point where the directive appears.
About '#' and "include"
The '#' sign tells the preprocessor, which scans the code before sending it to the compiler, to do something.
"include" tells the preprocessor that the following file is to be included in the compiling process.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / jitesh singh
The pre-processor is the part of the compiler which actually gets your program from the file.
This is a pre-processor directive. It is not part of our program, it is an instruction to the compiler to make it do something. It tells the C compiler to include the contents of a file, in this case the system file stdio.h. The compiler knows it is a system file, and therefore must be looked for in a special place, by the fact that the name is enclosed in <> characters.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ankit
This is called Preprocessor directive - tells computer to load contents of a certain file. <stdio.h> allows
standard input/output operations to be loaded in the program. <conio.h> is for the clearing the screen.
The functions such as printf() and scanf() are defined in <stdio.h>. The functions clrscr() and getch() are
defined in <conio.h>
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / a.ramachandiran b.sc cs
The symbol '#' is called preprocessor.
All the header files are stored in a folder namely INCLUDE.
When need to us use them we must mention as follows.
#include<headerfile_name.h>
| Is This Answer Correct ? | 27 Yes | 28 No |
Answer / pooja gupta
# is a symbol used by the developer of c compiler designer
to define the preprocessor directives. Pre-processor word
means that the header file following #include is already
processed and their is no chance of it containing any
errors or flats. User can directly include the header file
in their program.
The #include use in 2 ways.
1. #include<filename> and
2. #include"filename".
in #include<filename>
if the file is not found there, the compiler checks the
source header directory.If the file is not still found
there,the pre-processor checks the current directory....
in #include"filename"
If the file is not found there the compiler checks the
compile include directory.If the file is still not found
there the pre-procesor checks the source header
directory.
| Is This Answer Correct ? | 3 Yes | 4 No |
Answer / ashu singh
# is a pre-processor and "include" is a pre-processor directive."include" tells to compiler to carry the header file's functions in your memory...whenever i call the function linker and loader do there work...and "#" pre process the header files before compilation.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / cynthia
# is the symbol used as the syntax of the header
statement.include is the key word used to link for the
functions in the file(may be in the library or the user
defined) to be used in the program.
For instance,
#include<stdio.h>/*used to include the
library file for standard input/output statements-printf()
and scanf()*/
| Is This Answer Correct ? | 13 Yes | 15 No |
Answer / j.md riyasudeen
# include "file name" that represents its already inbuilt in
the programming coding by developer.if the developer used
the any other symbols like(*include,@include) this is header
file we should use in c programs
| Is This Answer Correct ? | 1 Yes | 3 No |
a=5 a=a++/++a
Write a program for Overriding.
What is meaning of "Void main" in C Language.
24 Answers Ford, GU, HCL, IBIBS, JUW, TCS,
What is the most efficient way to count the number of bits which are set in an integer?
how many argument we can pas in in a function
How can a number be converted to a string?
What is use of pointer?
What is the difference between procedural and declarative language?
What are the different types of errors?
What is a macro, and explain how do you use it?
mplementation of stack using any programing language
What is structure and union in c?