Vidyalelo
Computer Science · Q382

Object Oriented Programming Using C++

Engineering and GATE · Computer Science · question 382

Q382

Which of the following statements declares a variable that can contain a decimal number?

A.
dec payRate;
B.
dec hourlyPay
C.
float payRate
D.
float hourlyPay;
Answer
E.
None of the above

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board