Answers for "c++ method with parameters"

C++
1

c++ function parameters

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

int main() {
  myFunction("Liam");
  myFunction("Jenny");
  myFunction("Anja");
  return 0;
}
Posted by: Guest on October-13-2021

Code answers related to "c++ method with parameters"

Browse Popular Code Answers by Language