Why do u use # before include in a C Progam?
Answers were Sorted based on User's Feedback
# 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 |
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 |
Answer / thanuj
to include address of header file we are writing # before
include
Is This Answer Correct ? | 16 Yes | 9 No |
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 |
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 |
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 |
Answer / manav kothari
# is preprocessor directive. It will execute before compilation is done
Is This Answer Correct ? | 1 Yes | 0 No |
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 |
write a program to print the all 4digits numbers & whose squares must me even numbers?
Write a program to swap two numbers without using third variable?
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
What is a class?
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
What header files do I need in order to define the standard library functions I use?
here is a link to download Let_Us_C_-_Yashwant_Kanetkar
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); }
While(1) { } when this loop get terminate is it a infinite loop?
How to swap two values using a single variable ? condition: Not to use Array and Pointer ?
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
What is hashing in c?