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