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

What is c language & why it is used?

0 Answers  


There is a number and when the last digit is moved to its first position the resultant number will be 50% higher than the original number.Find the number?

1 Answers  


What is the process to generate random numbers in c programming language?

0 Answers  


Explain the difference between malloc() and calloc() in c?

0 Answers  


Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent

0 Answers  






Write a C/C++ program that connects to a MySQL server and checks intrusion attempts every 5 minutes. If an intrusion attempt is detected beep the internal speaker to alert the administrator. A high number of aborted connects to MySQL at a point in time may be used as a basis of an intrusion.

1 Answers  


What is dangling pointer in c?

0 Answers  


What are the application of void data type in c?

0 Answers  


What is the difference between text and binary modes?

0 Answers  


Here is a neat trick for checking whether two strings are equal

0 Answers  


Why main is not a keyword in c?

0 Answers  


what is d pitfalls of registers variables

3 Answers   TCS,


Categories