what is the syntax of #define command in c++ ? and where it is used ?
Answers
Answered by
4
This is the syntax :
#define variable_name value
Eg: #define x 14
Remember : there is no semicolon at the end of #define command
it is used to declare variables as constants during the execution of the program.
#define variable_name value
Eg: #define x 14
Remember : there is no semicolon at the end of #define command
it is used to declare variables as constants during the execution of the program.
danishjoshi111:
please mark as the brainiest and dont forget to say thanks .
Similar questions