What will happen if we call autorelease twice on a custom object?

36 Views Asked by At

**What will be the output of Calling autorelease twice over an custom object . For iOS classes objects like NSString OS handles it . But what will happen to custom objects ** Example :

Car *car = [[[[Car alloc]init]autorelease]autorelease];
0

There are 0 best solutions below