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+(ba)/2)(a + (b - a) / 2)

B)

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

Question 1 of 20 attempted

Get hands-on with 1200+ tech skills courses.