Sail E0 Webinar
Question
The correct syntax for running two variable for loop simultaneously is.
Options:
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++){}     for (j = 0; j < n;j += 5){}
D .  None of the mentioned
Answer: Option B


none



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

More Questions on This Topic :


Latest Videos

Latest Test Papers