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

How do I open .am files?

1 Answers  


Is there function overloading in objective-c?

1 Answers  


What are the classifications of property?

1 Answers  


Is objective c statically typed?

1 Answers  


What is the difference between #import and #include in objective-c?

1 Answers  


Why we use synthesize in objective c?

1 Answers  


What is an extension?

1 Answers  


What is nsarray objective c?

1 Answers  


How do you add a category in objective c?

1 Answers  


Is objective c better than c++?

1 Answers  


What is the difference between method and type?

1 Answers  


What are the 5 principles of object oriented programming?

1 Answers  


Categories