MCQs > IT & Programming > Objective C > Considering the following Objective-C code, what will get printed:

Objective C MCQs

Considering the following Objective-C code, what will get printed:

#import <Foundation/Foundation.h>int main()

{ int sum = 17, count = 5; CGFloat mean; mean = (CGFloat) sum / count; NSLog(@"mean : %f", mean ); return 0; }

Answer

Correct Answer: mean : 3.400000

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