why do we use # in c-language?



why do we use # in c-language?..

Answer / raj

This is for including Header files in your 'C' program.
Header files means to include built-in files of your C
library.The #include directive tells the preprocessor to
treat the contents of a specified file as if those contents
had appeared in the source program at the point where the
directive appears. You can organize constant and macro
definitions into include files and then use #include
directives to add these definitions to any source file.

Is This Answer Correct ?    7 Yes 0 No

Post New Answer

More C Interview Questions

Write a program for deleting duplicate elements in an array

3 Answers   Subex,


Explain how do you convert strings to numbers in c?

0 Answers  


Why ordinary variable store only one value  

0 Answers  


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

0 Answers  


Differentiate between null and void pointers.

0 Answers   TCS,






Is c an object oriented programming language?

1 Answers  


who is the father of C Language?

20 Answers   CTS, UST,


How can I do graphics in c?

0 Answers  


Explain the use of bit fieild.

0 Answers  


I need a sort of an approximate strcmp routine?

0 Answers  


Explain what is the use of a semicolon (;) at the end of every program statement?

0 Answers  


In C programming, how do you insert quote characters (‘ and “) into the output screen?

0 Answers  


Categories