MCQs > IT & Programming > Cocoa Programming For Mac OS X > Is the following code correct? - (void)myMethod:(NSString **)s { *s = [[NSString alloc] init]; }

Cocoa Programming For Mac OS X MCQs

Is the following code correct?
- (void)myMethod:(NSString **)s {
*s = [[NSString alloc] init];
}

Answer

Correct Answer: Yes

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Cocoa Programming For Mac OS X Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Cocoa Programming For Mac OS X Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it