func fullName(fName:String,lName:String) {
let myFullName:String = "\(fName) \(lName)"
print(myFullName)
}
//calling the parameter
fullName(fName: "Hi", lName: "Hello")
/****************/
non return type functions are called void functions
and return type functions are called non-void functions
let myFullName:String = "\(fName) \(lName)"
print(myFullName)
}
//calling the parameter
fullName(fName: "Hi", lName: "Hello")
/****************/
non return type functions are called void functions
and return type functions are called non-void functions
Sign up here with your email
ConversionConversion EmoticonEmoticon