A

Admin • 833K Points
Coach

Q. What is the output of C Program?

Code:
int main()
{
int k, j;

for(k=1, j=10; k <= 5; k++)
{
printf("%d ", (k+j));
}

return 0;
}
  • (A) compiler error
  • (B) 10 10 10 10 10
  • (C) 11 12 13 14 15
  • (D) None of the above
  • Correct Answer - Option(C)
  • Views: 20
  • 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.