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 the difference between typedef and enum?



What is the difference between typedef and enum?..

Answer / Shubhansi

"In Objective-C, a `typedef` allows you to define a new name for an existing data type. An `enum` defines a new custom data type consisting of a set of named integer constants. For example:nn```objective-cntypedef NSInteger MyInt; // typedef for NSIntegernenum MyColors { Red, Green, Blue }; // enum for colors

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

Is objective c type safe language?

1 Answers  


How do you write an objective?

1 Answers  


Who calls dealloc method? Can we implement dealloc in arc? If yes, what is the need to do that?

1 Answers  


How to call methods in objective c?

1 Answers  


Is objective c statically typed?

1 Answers  


What do you understand by protocol?

1 Answers  


What does __ block do?

1 Answers  


What is single inheritance in objective-c?

1 Answers  


What is m files document management?

1 Answers  


Does objective c have garbage collection?

1 Answers  


What is difference between mutable and immutable?

1 Answers  


What is objective c written in?

1 Answers  


Categories