Aa

Text size

?

Map / Arrays / 7

🐞 Debug

A copy that is not a copy

The program should change only the copy and print "1 99". It prints "99 99". Make copy a real, separate array.

  • references
  • new int[n]
  • for