A

Admin • 828.03K Points
Coach

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
  • Correct Answer - Option(C)
  • Views: 14
  • Filed under category C Programming
  • Hashtags:

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.