What is the relation between # and include<stdio.h>
Answers were Sorted based on User's Feedback
Answer / gita
include<stdio.h> means we include standard input and output
functions code we does not write any thing about library
functions .h means header file if we include tis header
file then we place # before the include<stdio.h> this is c
syntax.
| Is This Answer Correct ? | 13 Yes | 1 No |
Answer / priyanka
actually, in C, every keyword has some specific value some
specific meaning and those meanings of keywords are already
been stored in header files like
<stdio.h>,<conio.h>,<math.h> etc.... so to make computer
understood the meaning of printf, scanf like keywords, we
have to use header files in begining of the prog... and #
is a preprocessor.... this tells computer that now u be
ready to write a prog...
this is wat i think.... though i dnt hav technical
knowledge still i tried to xplain.....
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / pandya umesh c
it is library file access,which contains information that
must be included in the program when it is compiled.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / jafar ali
when ever we include 'stdio.h' or any other header file
and use its features and functions using keyword 'include',
their codes are inserted in our source-code before
compiling.
when we use function printf() from stdio.h its code is
inserted in our code. This is done by c preprocessors and
is done before compiling the code.
And here '#' plays a vital part. # indicates that this
lines are to be considered by the preprocessor and it acts
appropriately.
i hope i have answered the question. i am new to c and
if any one want to add to this they are welcome.
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / anjali
# indicates the directive preprocessor which allows the
program to run.
While include<stdio.h> is the standard library function
that allows you to enter the input and receive the output.
i.e. printf() and scanf().
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain what a Binary Search Tree is.
what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)
write a program which counts a product of array elements lower than 10.
what is output of the following statetment?Printf(“%x”, -1<<4); ?
Write a C Programm.. we press 'a' , it shows the albhabetical number is 1, if we press 'g' it shows the answer 7.. any can help me
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
what is the output of the below code? main( ) { printf ( "\nOnly stupids use C?" ) ; display( ) ; } display( ) { printf ( "\nFools too use C!" ) ; main( ) ; }
Compare array data type to pointer data type
How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?
Find the O/p of the following 1) #include int main() { char c='1'; int j=atoi(c); }
What is the difference between exit() and _exit() function in c?
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9