Prince William, 41, was pictured mid-salute as he donned a navy uniform for the occasion at the Britannia Royal Naval College in Dartmouth.