online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
//C program to find the Largest of three numbers Using Function #include<stdio.h> int larg(int, int, int); int main() { // Variable declaration int a,b,c, l; printf("Enter Three Number\n"); scanf("%d %d %d",&a,&b,&c); //calling function to find Largest number l = larg(a,b,c); //Display Largest number printf("Largest Number is : %d",l); return 0; } int larg(int a, int b, int c) { int larg; // Larg among a, b and c if(a>b) { if(a>c) larg = a; else larg = c; } else { if(b>c) larg = b; else larg = c; } }

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