Which of the following measurements could be the side lengths of a right triangle?

A. 24 in, 32 in, 40 in
B. 24 in, 36 in, 40 in
C. 20 in, 32 in, 40 in
D. 24 in, 32 in, 48 in