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 |
how can i get the output 54321 4321 321 21 1 in c programming........???? pls help......
what is the return type of printf
What is the use of a semicolon (;) at the end of every program statement?
int array[]={1,2,3,4,5,6,7,8}; #define SIZE (sizeof(array)/sizeof(int)) main() { if(-1<=SIZE) printf("1"); else printf("2"); }
Here is a good puzzle: how do you write a program which produces its own source code as output?
What is the difference between local variable and global variable in c?
How are variables declared in c?
Write a c program using for loop to print typical pattern if number of rows is entered by keyboard. ABCBA AB BA A A
What is information technology.
What is the real difference between arrays and pointers?
27 Answers Hexaware, Logic Pro, TCS,
How will you delete a node in DLL?
What is conio h in c?