Ask a Question

why we use # in c?

on 2010-05-24 22:12:50   by sabyasachi   on Information Technology  4 answers

Ishwarya

on 2010-05-30 09:30:00  

In C, the symbol \'#\' is always written with a \'include\' like, #include, to declare a header file. It is the correct syntax. A single \'#\' is never used. ` ` I hope I could clear your doubt.

Sauradyuti

on 2010-06-01 09:30:00  

\'#\' is also used to write a preprocessor(macro) like \'#define\' or \'#ifdef\'. I hope you know what macros are.

Ishwarya

on 2010-06-01 09:30:00  

Yeah I know..but I thought you just wanted to know about the header files...!!

Debashis

on 2010-06-09 09:30:00  

actualy,during da birth of dis language,dis was da only symbol dat came 2 dennis ritchi\'s mind