Nothing: you will get a compile-time error

, 4.10.0

">
MCQs > IT & Programming > Objective C > What will be printed on screen after running the following code?

Objective C MCQs

What will be printed on screen after running the following code?

int main()

{
    int a = 5;
    float c = .5f
    printf("%.2f", a / c);
    return 0;
}

Answer

Correct Answer: 10.0

Explanation:

Note: This question has more than 1 correct answers

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