Skip to content

Instantly share code, notes, and snippets.

@myawesomehub
Last active July 10, 2021 12:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save myawesomehub/d598d9ec73aedd2e9ba4f2f6d6e8fe02 to your computer and use it in GitHub Desktop.
Save myawesomehub/d598d9ec73aedd2e9ba4f2f6d6e8fe02 to your computer and use it in GitHub Desktop.
// Mark:- First Point
private func addingOf(_ num1: Int, and num2: Int) {
print("\(num1) + \(num2) = \(num1 + num2)")
}
// Mark:- Second Point
private func increment(_ value: inout Int) {
value += 1
print(value)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment