Beginner
Swift
Q12 / 100
What is string interpolation in Swift?
Correct! Well done.
Incorrect.
The correct answer is B) Embedding expressions in a string literal using \(expression)
B
Correct Answer
Embedding expressions in a string literal using \(expression)
Explanation
"Hello, \(name)!" embeds the value of name into the string literal.
Progress
12/100