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 |
The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none
write a function that accepts an integer/char array and an search item.If the search item is there in the array return position of array and value else return -1.without using other array,without sorting,not to use more than one loop?
What is the difference between File pointer and Internal Charecter Pointer?
void main() { int i=5; printf("%d",i++ + ++i); }
what is the height of tree if leaf node is at level 3. please explain
what is the function of .h in #include<stdio.h> in c ?
23 Answers HCL, IBM, Wipro,
write a program for egyptian fractions in c?
a value that does not change during program execution a) variabe b) argument c) parameter d) none
the data type used for unlimited value in c and how to do this program
what is the value of b if a=5; b=++a + ++a
31 Answers Infosys, TCS, Tech Mahindra,
If we have an array of Interger values, find out a sub array which has a maximum value of the array and start and end positions of the array..The sub array must be contiguious. Take the start add to be 4000. For Ex if we have an array arr[] = {-1,-2,-5,9,4,3,-6,8,7,6,5,-3} here the sub array of max would be {8,7,6,5} coz the sum of max contiguous array is 8+7+6+5 = 26.The start and end position is 4014(8) and 4020(5).
5 Answers Microsoft, Motorola,
What is the purpose of sprintf() function?