Important MCQ

#define MAX 50 and const int MAX = 50; both

Q.#define MAX 50 and const int MAX = 50; both

A) create variables that can change
B) create data types
C) create a fixed value
D) create loops
Correct Answer:
Option C
Detailed Explanation:
C) create a fixed value is correct. C++ declarations use the data type before the variable name. Integer division drops the fractional part, character codes can be converted to integers, and constants cannot be changed.