Of the following types, which one cannot store a numeric value?


Of the following types, which one cannot store a numeric value?


a) int

b) double

c) char

d) all of these can store numeric values

e) none of these can store numeric values

Answer: c. Explanation: int is used to store whole numbers (integers) and double is used to store a real or floating point value (value with a decimal point). A char stores a single character including letters, punctuation marks and digits. However, storing the numeric digit ‘5’ is not the same as storing the number 5.