online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> // 표준 입출력 함수 int function4(int x, int y){ // 매개변수 x, y가 있고, 반환값은 int형 printf("두 개의 매개변수: %d, %d\n", x, y); printf("반환값 있음: %d\n", x+y); return x + y; // x와 y의 합을 반환 } int main(){ // 프로그램 시작, main 함수 정의 int a = 10, b = 6; // 정수형 변수 a, b 선언 및 초기화 int result4 = function4(a, b); // 함수 호출 시, 매개 변수인 a, b의 값이 function4()의 x, y에 전달되고 // 반환 값(두 수의 합)이 정수형 변수 result4에 저장 printf("function4의 반환값: %d\n", result4); // 반환값 출력 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