If a △QPR is right angled at P, then which is the longest side of the triangle?
QR
The side opposite to the greatest angle in a triangle is the longest.
Here the biggest angle is the right angle, hence QR is the longest side in △QPR, right angled at P.