module pind.samples.ja.function_parameters.function_parameters_19; import std.stdio; void swap(int first, int second) { int temp = first; first = second; second = temp; } void main() { int a = 1; int b = 2; swap(a, b); writeln(a, ' ', b); }