G

Geetam • 6.04K Points
Tutor III

Q. Will the following C code compile without any error?

Code:
#include <stdio.h>
    int main()
    {
        for (int k = 0; k < 10; k++);
            return 0;
    }
  • (A) Yes
  • (B) No
  • (C) Depends on the C standard implemented by compilers
  • (D) Error

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics