Question from the Objective-C test

Objective-C: What is the output of this code?

Hard

What happens when you execute the following code?

Ball *ball = [[[[Ball alloc] init] autorelease] autorelease];

Author: Smart&SoftStatus: PublishedQuestion passed 29 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!