MCQs > IT & Programming > C Programming > Output as a result of the following code snippet? void main() { int i,j,k; i=4; j=30; k=0; k=j++/i++; ++k; printf('%d %d %d',i,j,k); }

C Programming MCQs

What will be printed on the standard output as a result of the following
code snippet?
void main()
{
int i,j,k;
i=4;

j=30;
k=0;
k=j++/i++;
++k;
printf("%d %d %d",i,j,k);
}

Answer

Correct Answer: 5 31 8

Explanation:

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

C Programming Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

C Programming Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it