Which of the following definitions will allow the variable average to hold floating-point values?
A) float average;
B) double average;
C) auto average = 0.0;
D) All of the above
E) A and B, but not C
Correct Answer:
Verified
Q22: The expression 7 % 2 evaluates to
A)
Q25: The following two statements both assign the
Q26: _ must be included in a program
Q27: What value will be assigned to the
Q28: A _ is used to mark the
Q29: Which of the following is/are valid C++
Q31: What literal(s) appear in the following C++
Q32: The following two statements could be used
Q33: The following is a legal C++ statement
Q34: In programming terms, a group of characters
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents