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

Are there any problems with performing mathematical operations on different variable types?

0 Answers  


How is a pointer variable declared?

0 Answers  


Explain Function Pointer?

0 Answers   Wipro,


Can you write the function prototype, definition and mention the other requirements.

0 Answers   Adobe,


how to print "hai" in c?

13 Answers   TCS,


How will you declare an array of three function pointers where each function receives two ints and returns a float?

0 Answers   TISL,


How would you rename a function in C?

0 Answers   Tech Mahindra,


enum DAY { sunday, monday, tuesday }; enum EDAYS { friday, saturday, sunday }; void main() { int i =0; if( i == sunday) { printf("%d",i); } } what would be the output?

4 Answers   TCS,


4.weight conversion: Write a program that will read weight in pounds and convert it into grams.print both the original weight and the converted value.There are 454 grams in a pound.design and carry out a test plan for this program.

1 Answers   Wipro,


Which of these functions is safer to use : fgets(), gets()? Why?

0 Answers  


What do you mean by Recursion Function?

0 Answers   Hexaware,


code for find determinent of amatrix

0 Answers  


Categories