Download the Guru IA app

Android and iOS

Foto de perfil

Vitor

estudos gerais11/30/2024

Considerando o uso do comando "continue" na linguagem C, ide...

Considerando o uso do comando "continue" na linguagem C, identifique a saída resultante do seguinte código:

1:

2:

3:

4:

5:

6:

7:

8:

9:

10:

11:

#include <stdio.h>

int main() {

int i;

for (i = 0; i < 5; i++) {

    if (i == 2) {

        continue;

    }

    printf("%d ", i);

}

return 0;

}

Send your questions through the App
Google Play
App Store
Equipe Meu Guru

Do you prefer an expert tutor to solve your activity?

  • Receive your completed work by the deadline
  • Chat with the tutor.
  • 7-day error guarantee