iOS Developer Question:

Download Job Interview Questions and Answers PDF

Explain keywords alloc and new?

iOS Developer Interview Question
iOS Developer Interview Question

Answer:

The alloc keyword is used to create a New Memory Location in the System. However, it does not initialize it. In case of New keyword, it also helps to create a New Memory Location in the system. However, it can initialize the Contents unlike the alloc keyword.

Download iOS Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Explain App ID?What is a Protocol in Objective-C Programming Language?