MCQs > IT & Programming > Objective C > Which one is a correct sample of block implementation in Objective-C?

Objective C MCQs

Which of the following is a correct sample of block implementation in Objective-C?

Answer

Correct Answer: `void (^simpleBlock)(void) = ^{NSLog(@"This is a block");};`

Explanation:

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

Objective C Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Objective C Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it