Test Yourself: Arithmetic Utilities

Attempt the following quiz to test your understanding of arithmetic utilities.

Choose the possible correct answer(s).

1

std::midpoint(a, b) calculates the midpoint as:

A)

(a+(b−a)/2)(a + (b - a) / 2)

B)

(b+(a−b)/2)(b + (a - b) / 2)

Question 1 of 20 attempted

Get hands-on with 1400+ tech skills courses.