online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> int main() { short sh = 12; //shortμ •μˆ˜ν˜• λ³€μˆ˜(2λ°”μ΄νŠΈ) int nt = 155; //int μ •μˆ˜ν˜• λ³€μˆ˜(4λ°”μ΄νŠΈ) long long on = 1666; //long long μ •μˆ˜ν˜• λ³€μˆ˜(8λ°”μ΄νŠΈ) long ln = 2000; //long μ •μˆ˜ν˜• λ³€μˆ˜(4λ°”μ΄νŠΈ, 단 운영체제 μ‹œμŠ€ν…œμ— 따라 8λ°”μ΄νŠΈ->GCCμ—μ„œλŠ” 8λ°”μ΄νŠΈκ°€ λ‚˜μ˜΄) printf("μžλ£Œν˜•μ˜ 크기λ₯Ό μ•Œμ•„λ³΄λŠ” μ½”λ“œ"); printf("1. short : %dbyte, %dbyte \n", sizeof(sh), sizeof sh); printf("2. int : %dbyte, %dbyte \n", sizeof(nt), sizeof nt); printf("3. long long : %dbyte, %dbyte \n", sizeof(on), sizeof on); printf("4. long : %dbyte, %dbyte \n", sizeof(ln), sizeof ln); //gdbμ‚¬μ΄νŠΈ κΈ°μ€€μ—μ„œλŠ” 8λ°”μ΄νŠΈκ°€ 좜λ ₯됨 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