Look at below code and provide the reference counter value after it executes:
Object *anObj = [[Object alloc] init]; [anObj retain]; [anObj release]; [anObj release];
Correct Answer: Reference counter will be 0, anObj will be deallocated automatically
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Objective C MCQ Questions