Skip to content

Instantly share code, notes, and snippets.

@LucianoPAlmeida
Created February 5, 2023 03:05
Show Gist options
  • Save LucianoPAlmeida/1c76e139433ae69a205b564760fec00e to your computer and use it in GitHub Desktop.
Save LucianoPAlmeida/1c76e139433ae69a205b564760fec00e to your computer and use it in GitHub Desktop.
int doubleIt(int num) {
return num + num;
}
int doubleItRef(int &num) {
return num + num;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment