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 #import and #include in objective-c?



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

Answer / Pawan Kumar Sahu

Both #include and #import directives are used to include header files in Objective-C. The main difference lies in how they handle file inclusion. #include will include the specified header file multiple times if it is included from different places, while #import prevents multiple inclusions of the same header file.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

How to make a code snippet thread safe?

1 Answers  


What is the difference between class and category?

1 Answers  


Is swift or objective c better?

1 Answers  


What is the protocol in objective c?

1 Answers  


What are the types of ios binaries you can create using xcode?

1 Answers  


What does __ block do?

1 Answers  


How do I create a bridge header in objective c?

1 Answers  


Explain mutable types in objective c programming language?

1 Answers  


What is difference between datasource and delegate?

1 Answers  


Explain class definition in objective-c?

1 Answers  


Explain the difference between uiwindow and uiview?

1 Answers  


What is better objective c or swift?

1 Answers  


Categories