what is the function of # symbol in C.
for eg:# include<stdio.h>.this statement is used for linking the i/p nd o/p fns in the pgm to the header file.is this # is the directive.somebody said to me that # is assembler directive.can anyone explain what an assembler directive is?
The '#' introduces a so called 'pp-token', i.e. a 'preprocessor token'. It has nothing
to do with assembly or whatever. Within a preprocessor directive this character
may be the catenation operator or the stringize operator. It's all preprocessor
stuff which by itself has nothing to do with the C(++) language itself.
kind regards,
Jos
ps. what is "i/p nd o/p fns"?