A

Admin • 833K Points
Coach

Q. The correct syntax for running two variable for loop simultaneously is

  • (A) for (i = 0; i < n; i++) for (j = 0; j < n; j += 5)
  • (B) for (i = 0, j = 0;i < n, j < n; i++, j += 5)
  • (C) for (i = 0; i < n;i++){}
  • (D) for (j = 0; j < n;j += 5){}
  • Correct Answer - Option(B)
  • Views: 29
  • 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.