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...


How can we put nil it into dictionary/array?



How can we put nil it into dictionary/array?..

Answer / Rakhi Kumari

In Objective-C, you can add nil to arrays and dictionaries by simply assigning them. For example: NSMutableArray *myArray = [NSMutableArray array]; myArray[0] = nil; NSDictionary *myDict = @{@"key": nil};

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

What is an m file?

1 Answers  


How to declare global variable in objective c?

1 Answers  


What is typedef objective c?

1 Answers  


Who calls dealloc method?

1 Answers  


What is the difference between atomic and nonatomic synthesized properties?

1 Answers  


Is objective c statically typed?

1 Answers  


What is gcd?

1 Answers  


Why swift is faster than objective c?

1 Answers  


Explain what is dot notation?

1 Answers  


How do you write an objective?

1 Answers  


What objective-c program consists of?

1 Answers  


What is objective c?

1 Answers  


Categories