Last active
July 10, 2021 12:43
-
-
Save thatswiftguy/d598d9ec73aedd2e9ba4f2f6d6e8fe02 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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