Which of the following is a valid compile-time initialization for amountDue, a floating point variable of the double type, that will initially be set to zero?

A. amountDue = 0;
B. amountDue = ‘0';
C. amountDue = 0m;
D. amountDue = 0f;

Answer: A

Computer Science & Information Technology

You might also like to view...

Which of the following is an allowable aggregate operation on a struct?

A. Arithmetic B. Assignment C. Input/output D. Comparison

Computer Science & Information Technology

Which utility is used to browse and manage the records of system events and messages stored in system event logs?

A. Event Viewer B. Shared Folders C. Device Manager D. WMI Control

Computer Science & Information Technology