Computer Science, asked by yashigupta, 1 year ago

hey guys ...can u pls tell me why we use # in c++ programming language???

Answers

Answered by Nobita678
1
Hola!

It is used to distinguish lines which need preprocessing before actual compilation begins.
# is a pre- processor directive.Any line which begins with # is replaced/omitted with other piece of code and then that code is compiled.
For example when preprocessor encounters a line 

# include <stdio.h>

it replaces that line with all the text inside 'stdio.h'. 

Remember you can mark it as brainliest if you want to....

Nobita678: Read again...
yashigupta: no
yashigupta: I m not asking this
Nobita678: It is a general purpose programming language and can efficiently work on enterprise applications, games, graphics, and applications requiring calculations.
yashigupta: I m asking why we use # in header file of c++
Nobita678: Then what?
yashigupta: are u understand now
Nobita678: ohhhhh ......ok..sorry...
Nobita678: Let me edit..
yashigupta: sure
Similar questions