MCQs > IT & Programming > Programming With C > What will happen when the following code is executed? { int num; num =0; do {-- num; printf('%d\n', num); num++; } while (num >=0); }

Programming With C MCQs

What will happen when the following code is executed?
{
int num;
num =0;
do {-- num;
printf("%d\n", num);
num++;
} while (num >=0);
}

Answer

Correct Answer: There will be a compilation error

Explanation:

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

Programming With C Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

More Programming With C MCQ Questions

search

Programming With C Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it