170k views
3 votes
Assume that the variable num has already been defined with an arbitrary int value. num is:

a) A string
b) An array
c) An integer
d) A boolean

User Gapton
by
8.1k points

1 Answer

3 votes

Final answer:

The variable num is an integer because it has been defined with an arbitrary int value.

Step-by-step explanation:

The variable num is an integer because it has been defined with an arbitrary int value. In programming, an integer is a whole number that does not have a decimal point or fractional part. Examples of integers are -3, 0, and 42.

User Sylca
by
7.2k points