+ 4

Why we are use the "#" in starting of any header file?????

Gimme answers

22nd Jan 2019, 4:18 PM
Piyush Goyal
Piyush Goyal - avatar
3 odpowiedzi
+ 1
It is the prefix to a preprocessor directive to do the following (after the #) before compilation.
22nd Jan 2019, 7:14 PM
Dread
Dread - avatar
0
It is a pre fix to pre processor directive (which process the source code before compilation).it tells the compiler that whatever the header file we are including using include directive process it because the all the functions we are gone to use will be from that header file
3rd Feb 2019, 10:47 PM
AR Arain
AR Arain - avatar
0
It is used to distinguish lines which need preprocessing before actual compilation begins. it replaces that line with all the text inside 'stdio.h'. it replaces all instances of ADD with definition of ADD. So # is used by Ccompiler to know which lines need preprocessing.
17th Mar 2019, 6:55 AM
Vikram singh
Vikram singh - avatar