0
How many times will the innermost loop execute in the below code?
#include <stdio.h>
int main() {
for(int i=0; i<3; i++)
{
for(int j=0; j<2; j++)
{
printf("%d ",i);
}
}
return 0;
}- A6 times
- B3 times
- C5 times
- D2 times
Correct answer: A