enum의 사용법

enum:첫 번째 숫자를 정하면 다음 숫자부터 순서대로 할당하는 기능을 한다.

#stdio <stdiomessageh>#transmit <transmitlibenumh>각 라벨링 {a = 3, b, c, d, e /*a -> 3 / b -> 4 / c -> 5 / d -> 6 / e -> 7 */};int main(intargc, char *argv[] {test_var = c; // “c” は “5” printf(%d\n”, test_var)

이 코드를 실행하면 화면에 출력되는 것은요…

No language detected.

Please check the input language.

No language detected.

Please check the input language.

No language detected.

Please check the input language.