Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Argument passing by using reference and value
//clang 3.8.0 #include <iostream> using namespace std; void dup(int& a,int& b,int& c){ a+=2; b+=2; c+=2; } int main() { int d=5,e=6,f=7; dup(d,e,f); cout << "a="<<d<<"\n""b="<<e<<"\n"<<"c="<<f; return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
radixSort
001
why
Rounding float to nearest 1000
my override
applidiumResto_corrigé
vf
ternary test c++14
Copy uint64 data into uint32 with padding
MiniumNumberDivideConquer
Please log in to post a comment.