What does alloc mean in objective c?



What does alloc mean in objective c?..

Answer / Tulsi Kumar Chaudhary

"alloc" is a method used in Objective-C to allocate memory for an object. It returns an autoreleased instance of the specified class, which must be retained if you want to keep it around.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

What does the objective c program fundamentally comprise of?

1 Answers  


What is an example of tangible property?

1 Answers  


Explain immutable types in objective c programming language?

1 Answers  


What is posing in objective c?

1 Answers  


What is a .m file in xcode?

1 Answers  


Is objective c the same as c sharp?

1 Answers  


Can we create dynamic classes in objective c? If yes, explain how to create with a valid use case?

1 Answers  


Is apple stopping supporting objective c?

1 Answers  


Explain what is #import?

1 Answers  


How to declare global variable in objective c?

1 Answers  


List out the methods used in nsurl connection?

1 Answers  


What are the 5 performance objectives?

1 Answers  


Categories