Answer Posted / Pooja Vishwakarma
#import and #include are both used for including headers in Objective-C, but they have slightly different behaviors. #import creates unique instances of the header files to prevent multiple inclusion, while #include simply includes the content of the header file regardless of whether it has already been included or not. This can lead to issues when using #include with system headers that define macros.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category