RosettaCodeData/Task/Call-a-function/C++/call-a-function-2.cpp

6 lines
132 B
C++

/* passing arguments by value*/
/* function with one argument */
bar(arg1);
/* function with multiple arguments */
baz(arg1, arg2);