What is the meaning of question mark "?" In swift?
Answer / Vikash Shukla
In Swift, a question mark (?) is used for optional types. Optionals are variables or constants that may contain a value or may be nil. The question mark helps to indicate this potential absence of a value.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the characteristics of switch?
What is mutating keyword in swift?
Why is swift important?
What is the difference between nil and none in swift?
Does apple use swift internally?
What is nil-coalescing operator?
What are the two main integer types in swift?
What do you do when you realize that your app is prone to crashing?
What is tuple? How to create a tuple in swift?
What is a protocol in swift?
In swift what is use of backticks while declaring a variable?
What language is similar to swift?