Why do u use # before include in a C Progam?

Answers were Sorted based on User's Feedback



Why do u use # before include in a C Progam?..

Answer / sudarsan gouda

# is nothing but the preprocessor operator.That means it
will execute before the main() execution.
That means we are required to include that header file
those are required to our program before main(),

Is This Answer Correct ?    56 Yes 4 No

Why do u use # before include in a C Progam?..

Answer / rama krishna sidhartha

# symbol denotes preprocessor directive in C or C++. It
means that it says the compiler that it containd some
predefined information. Like it mentions any library
included. eg # include stdio.h

Is This Answer Correct ?    26 Yes 2 No

Why do u use # before include in a C Progam?..

Answer / thanuj

to include address of header file we are writing # before
include

Is This Answer Correct ?    16 Yes 9 No

Why do u use # before include in a C Progam?..

Answer / srinath

# is symbol of the Preprocessor directive means it tells the
compiler i will execute before compilation time.the
preprocessor directives like
#include<stdio.h>
# define MAX 10

Srianth

Is This Answer Correct ?    6 Yes 0 No

Why do u use # before include in a C Progam?..

Answer / sashfsjfg

# is a preprocessor it is used tell the current header file
to add some wat needed source code to program it invokes
before main function

Is This Answer Correct ?    4 Yes 1 No

Why do u use # before include in a C Progam?..

Answer / sandeep kr. maurya

in programming all operators are used(leaving # and @) then
programers want to a symbol for preprocessor. and # is
nothing in used then programers take this symbol for
preprocessor. and @ is used in Email.

Is This Answer Correct ?    1 Yes 0 No

Why do u use # before include in a C Progam?..

Answer / manav kothari

# is preprocessor directive. It will execute before compilation is done

Is This Answer Correct ?    1 Yes 0 No

Why do u use # before include in a C Progam?..

Answer / akashdixit254

preprocesser function

Is This Answer Correct ?    0 Yes 0 No

Why do u use # before include in a C Progam?..

Answer / yuvaraj

# is nothing but a symbol which denote starting of preprocessor i.e its an syntax like comment line /*

Is This Answer Correct ?    5 Yes 14 No

Post New Answer

More C Interview Questions

write a program to print the all 4digits numbers & whose squares must me even numbers?

2 Answers   Virtusa,


Write a program to swap two numbers without using third variable?

0 Answers  


write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3

0 Answers   ADP,


What is a class?

3 Answers  


write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34

0 Answers  






What header files do I need in order to define the standard library functions I use?

0 Answers  


here is a link to download Let_Us_C_-_Yashwant_Kanetkar

3 Answers   Microsoft,


what is the output of the program and explain why?? #include<stdio.h> void main ( ) { int k=4,j=0: switch (k) { case 3; j=300; case 4: j=400: case 5: j=500; } printf (ā€œ%d\nā€,j); }

14 Answers   Oracle,


While(1) { } when this loop get terminate is it a infinite loop?

5 Answers  


How to swap two values using a single variable ? condition: Not to use Array and Pointer ?

6 Answers  


Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)

0 Answers  


What is hashing in c?

0 Answers  


Categories