Run Code
|
API
|
Code Wall
|
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
simple in-memory b-tree
radixSort
Linker error while passing constexpr variable as const &
Example
INHERIT_CTORS default constructor
Store Information in Structure and Display it
regimeketopdfb
Assignment Operator Example
ternary test
khcmknhc