this post was submitted on 23 Oct 2021
6 points (100.0% liked)
C & C++
890 readers
9 users here now
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Of course they aren't the same. try to achieve the same output with int sum() instead of void sum() this small exercise will help you understand the difference
Yes, thanks for the help