Question from the Objective-C test

What is the output of the following code ? #import <Foundation/Foundation.h> int main(int argc, const char * argv[]) { @autoreleasepool { NSLog(@"%@", [NSNumber numberWithInt:10]); } return 0; }

Hard

What happens when executing this code?
[sourcecode language="objc"]
NSObject *obj = [NSObject alloc];
[obj release];
[/sourcecode]

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