online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> int findMax(int numbers[], int size){ // 배열의 최댓값을 반환하는 함수 int max = numbers[0]; // 변수 max의 numbers[0]값 초기화 for(int i = 1; i < size; i++){ if(numbers[i] > max){ max = numbers[i]; } } return max; // 최댓값 max 반환 } int main(){ int numbers[10] = {10, 52, 23, 74, 15, 67, 38, 29, 40, 51}; int max_value = findMax(numbers, 10); // 최댓값을 찾는 함수 호출 printf("배열의 최댓값을 %d 입니다!\n", max_value); 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