What is differences between nsnull and nil in objective c?
Answer / Pramod Singh
Both `nil` and `NSNull` represent null or no object, but they behave differently. `nil` can be used anywhere an Objective-C object is expected, while `NSNull` should be used with NSNull-specific contexts, like when using `NSNull` with NSDictionary.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is swift faster than objective c?
What is the difference between a script file and a function matlab?
What is the point of closures?
What is toll-free bridging? When is it useful?
Who invented objective c?
What is a category in objective c?
What type of language is objective c?
How do you define a block?
What is difference between nsstring and nsmutablestring?
What is id?
How to restart app in objective c?
Is objective c similar to c++?