Swap

Write a procedure

    void swap2(int& a, int& b);

that swaps the value of its parameters.

Observation

You only need to submit the required procedure; your main program will be ignored.

Problem information

Author: Unknown
Translator: Carlos Molina

Generation: 2026-01-25T11:24:36.007Z

© Jutge.org, 2006–2026.
https://jutge.org