Computer Science, asked by TbiaSamishta, 1 year ago

What is the significance of # define Row 10?

Answers

Answered by Secondman
2

"The '#define' is used to define the macros within the code.

It is otherwise referred as pre-processor directive. This allows to declare the constant value that can be used throughout the program.

In the given example, #define Row 10, it assigns the value 10 to the variable Row and it can be accessed throughout the program.

These macro definitions cannot be changed in the program like the variables, it remains constant. This can be used for numbers, strings, and expressions."

Answered by StaceeLichtenstein
0

The ROW variable is assigned a value 10 in the program .

Explanation:

  • # define statement is used to declared the macro in the c programming language .The main purpose of  #define statement is to declared the value of variable which do not varies during the program execution it means it behaves similar as a constant .
  • The # define is under the category of pre-processor directive .The pre-processor directive are statement are executed before it the statement giving to the compiler .
  • In the given question it stated that the value of Row variable is 10 in the program execution .    

Learn More :

  • brainly.in/question/7623785
Similar questions