Answer:
24
Step-by-step explanation:
Using Pythagoras theorem,
a^2 = b^2 + c^2
40^2 = 32^2 + c^2
1600 = 1024 + c^2
1600 - 1024 = c^2
576 = c^2
square root of 576 = c
24 = c