MCQs > IT & Programming > Objective C > Output of the following code?

Objective C MCQs

What will be the output of the following code?
static int
a (void)
{
printf ("a\n");
return 0;
}
static int
b (void)
{
printf ("b\n");
return 1;
}
static int
c (void)
{
printf ("c\n");
return 2;
}
int main (int argc, const char *argv[])
{
printf ("%d %d %d", a (), b (), c ());
return 0;
}

Answer

Correct Answer: c b a 0 1 2

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