online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#pragma warning(disable: 4996) // MSVC의 scanf λ³΄μ•ˆ κ²½κ³  λΉ„ν™œμ„±ν™” #include <stdio.h> int main(void) { int year; // 연도 μž…λ ₯ μš”μ²­ printf("연도λ₯Ό μž…λ ₯ν•˜μ„Έμš”: "); scanf("%d", &year); // μœ€λ…„ νŒλ³„: 4의 λ°°μˆ˜μ΄λ©΄μ„œ 100의 λ°°μˆ˜κ°€ μ•„λ‹ˆκ±°λ‚˜, 400의 배수인 경우 if ((year % 4 == 0 && year % 100 != 0) || (year % 400 == 0)) { printf("μœ€λ…„μž…λ‹ˆλ‹€\n"); } else { printf("ν‰λ…„μž…λ‹ˆλ‹€\n"); } return 0; }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue