What is differences between nsnull and nil in objective c?
Answer Posted / 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 |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category