Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is differences between nsnull and nil in objective c?



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

Post New Answer

More Objective-C Interview Questions

What is the difference between class and category?

1 Answers  


What is atomic property?

1 Answers  


How to print string in objective c?

1 Answers  


How to convert string to nsnumber in objective c?

1 Answers  


Explain how the class “implementation” is represented in objective-c?

1 Answers  


How can we put nil it into dictionary/array?

1 Answers  


What are the 5 principles of object oriented programming?

1 Answers  


Why is objective c used?

1 Answers  


Explain class definition in objective-c?

1 Answers  


Explain how to call a function in objective-c?

1 Answers  


When would you use nsarray and nsmutablearray?

1 Answers  


What is a nsstring?

1 Answers  


Categories