Variables And Data Types In C Plus Plus - Study Mode

[#71] Which of three sizes of floating point types should be used when extended precision is required?
Correct Answer

(C) long double

[#72] Which of these expressions will make the rightmost set bit zero in an input integer x?
Correct Answer

(B) x = x & (x-1)

[#73] Which of the following is a valid floating-point literal?
Correct Answer

(C) 287.e2

[#74] To which of these enumerators can be assigned?
Correct Answer

(D) all of the mentioned

[#75] Pick the right option. Statement 1: A definition is also a declaration. Statement 2: An identifier can be declared just once.
Correct Answer

(B) Statement 2 is true, Statement 1 is false