What is the function or purpose of Data type?
- A. The process of translating source code written in a high-level language into machine code before execution.
- B. A technique where a function calls itself to solve smaller instances of a problem.
- C. A classification that specifies what kind of value a variable can hold, such as integer or string. ✓
- D. A programming construct that repeats a block of code while a condition is true.
Correct answer
C. A classification that specifies what kind of value a variable can hold, such as integer or string.
Explanation
Data type refers to a classification that specifies what kind of value a variable can hold, such as integer or string.