What is the relation between # and include<stdio.h>

Answers were Sorted based on User's Feedback



What is the relation between # and include<stdio.h>..

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

What is the relation between # and include<stdio.h>..

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

What is the relation between # and include<stdio.h>..

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

What is the relation between # and include<stdio.h>..

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

What is the relation between # and include<stdio.h>..

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

Post New Answer

More C Interview Questions

main() { char x; while(x=0;x<=255;x++) printf("\nAscii value %d Charater %c",x,x); }

2 Answers  


What is hash table in c?

0 Answers  


What is the use of a conditional inclusion statement in C?

0 Answers   Global Logic,


What is a null string in c?

0 Answers  


What is auto keyword in c?

0 Answers  






number of times a digit is present in a number

0 Answers  


what is answer for perfect number????????????????

1 Answers  


34.what are bitwise shift operators? 35.what are bit fields? What is the use of bit fields in a structure declaration? 36.what is the size of an integer variable? 37.what are the files which are automatically opened when a c file is executed? 38.what is the little endian and big endian? 39.what is the use of fflush() function? 40.what is the difference between exit() and _exit() functions? 41.where does malloc() function get the memory? 42.what is the difference between malloc() and calloc() function? 43.what is the difference between postfix and prefix unary increment operators?

3 Answers  


What is an expression?

0 Answers  


Can u please send me the exam pattern and also Previous papers to javed123go@gmail.com

0 Answers  


writw a program to insert an element in the begning of a doubly linked list

1 Answers  


write a program to read a number and print in words that is in sentence for example 21,219 then output is "twenty one thousand and two hundred nineteen" by using only control flow statements (only loops and switch case )?

1 Answers   TCS,


Categories