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 |
What is the difference between class and category?
What is atomic property?
How to print string in objective c?
How to convert string to nsnumber in objective c?
Explain how the class “implementation” is represented in objective-c?
How can we put nil it into dictionary/array?
What are the 5 principles of object oriented programming?
Why is objective c used?
Explain class definition in objective-c?
Explain how to call a function in objective-c?
When would you use nsarray and nsmutablearray?
What is a nsstring?