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 / prasanna
For example,# is probably known as the pre-processor,because
its called conditional platform code.And also its a header
part section.
The #include use in 2 ways.One is the #include<filename> and
second is the #include"filename".The First one,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....
#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.
Note:
The compiler first checks the compile include directory
for the specified file.
And also thanks for giving the chance for scribble here.
Is This Answer Correct ? | 6 Yes | 9 No |
Answer / sakthivel.m
Header file used for to accepped the total programs and
steps in c language.
#include<stdio.h>
#--> preprocessor (define a programing checking concept)
include--> it interface both the header file and preprocessor
< >--> Expretion of header file area
" "--> charater type using a section of header file.
stdio.h--> standard input output.header (header file name)
Is This Answer Correct ? | 5 Yes | 8 No |
Write a code to generate divisors of an integer?
c program to arrange digits in a no in ascending and descending order
write a program to find the given number is prime or not
2 Answers Accenture, Vasutech,
what is the difference between arrays and linked list
26 Answers MAHINDRA, Tech Mahindra, Wipro,
18)struct base {int a,b; base(); int virtual function1(); } struct derv1:base{ int b,c,d; derv1() int virtual function1(); } struct derv2 : base {int a,e; } base::base() { a=2;b=3; } derv1::derv1(){ b=5; c=10;d=11;} base::function1() {return(100); } derv1::function1() { return(200); } main() base ba; derv1 d1,d2; printf("%d %d",d1.a,d1.b) o/p is a)a=2;b=3; b)a=3; b=2; c)a=5; b=10; d)none 19) for the above program answer the following q's main() base da; derv1 d1; derv2 d2; printf("%d %d %d",da.function1(),d1.function1(),d2.function1 ()); o/p is a)100,200,200; b)200,100,200; c)200,200,100; d)none 20)struct { int x; int y; }abc; you can not access x by the following 1)abc-->x; 2)abc[0]-->x; abc.x; (abc)-->x; a)1,2,3 b)2&3 c)1&2 d)1,3,4
Why can't I perform arithmetic on a void* pointer?
How can I determine whether a machines byte order is big-endian or little-endian?
to get a line of text and count the number of vowels in it
how can i include my own .h file EX:- alex.h like #include<alex.h>, rather than #include"alex.h"
What will be the output of x++ + ++x?
What is the purpose of the preprocessor directive error?
What is the difference between %d and %*d in C