0

Output of C++ code

Can somebody explain the output of this code? https://code.sololearn.com/ci7HswwvD6BI/#cpp

1st Sep 2020, 10:06 PM
Edward Finkelstein
Edward Finkelstein - avatar
2 odpowiedzi
+ 2
Arrays and pointers in general are passed by reference: https://www.sololearn.com/learn/CPlusPlus/1643/?ref=app
1st Sep 2020, 10:23 PM
Kevin ★
+ 1
thank you Kevin!
1st Sep 2020, 10:38 PM
Edward Finkelstein
Edward Finkelstein - avatar