Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ function parameters

void myFunction(string fname) {
  cout << fname << " Refsnes
";
}

int main() {
  myFunction("Liam");
  myFunction("Jenny");
  myFunction("Anja");
  return 0;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #function #parameters
ADD COMMENT
Topic
Name
1+3 =