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의 number[0] κ°’ μ΄ˆκΈ°ν™” for (int i = 0; i < size; i++) { if (numbers[i] > max) { max = numbers[i]; } } return max; // μ΅œλŒ“κ°’ max λ°˜ν™˜ } int main(void) { int numbers[] = {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