¿La página no carga? Prueba haciendo clic aquí.
Placeholder

#118
Idioma restringido

디버깅 - 형성평가3 1s - MB

Problemas

아래의 프로그램을 작성하여 디버깅을 하면서 디버깅 창에서 ① 위치에서의 a의 값이 얼마인지 구하여 그 값을 출력하는 프로그램을 작성하시오.

#include <stdio.h>

int main()
{
    int a = 5;
    a += 10;
    a = a - 1;  // ------------------- ①
    printf("%d\n", 1);  // 여기에서 출력될 1을 ① 위치에서의 a 값으로 바꾸어 준다.
    return 0;
}

Entrada

입력은 없습니다.


Salida

①에서의 a값만 출력하는 프로그램을 작성하시오.



Fuente

자기주도C언어프로그래밍

Debes iniciar sesión para escribir código.