Answers

Question and Answer:

  Home  iOS Developer

⟩ Explain keywords alloc and new?

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.

 135 views

More Questions for you: