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

When is a void pointer used?

0 Answers  


What is c value paradox explain?

0 Answers  


What does %f mean c?

1 Answers  


can we access one file to one directory?

1 Answers  


Write a program using two-dimensional array that lists the odd numbers and even numbers separately in a 12 input values.

1 Answers  






main() { int a=5; printf(?%d,%d,%d\n?,a,a< <2,a>>2); } Answer: 5,20,1 please explain this code in detail

6 Answers   TCS,


Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.

0 Answers  


Can u return two values using return keyword? If yes, how? If no, why?

7 Answers  


what is constant pointer?

3 Answers  


what is the flow of execution in cprogram? ex:printf();,scanf();

2 Answers  


Explain the use of 'auto' keyword

0 Answers  


Display names and numbers of employees who have 5 years or more experience and salary less than Rs.15000 using array of structures (name, number, experience and salary)

1 Answers  


Categories