+ 1
What is the use of local and external parameters? and what if we want to print \() with something inside it?
Can somebody help? Thanks in advance.
1 Respuesta
+ 2
local parameters are used in the implementation of function and external is used while calling.
answering ur second question,
print("\(swift is easy)")
you can print like this. no variable is used inside the \() so the compiler will print it as it is