online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include<stdio.h> int area(int l, int b); //Function Declaration void main() { int var1 = 10; int var2 = 20; int var3 = area(var1, var2); //Function Call /* Here we are passing the stored value inside it to the function by writing the variable name. */ printf("Area of rectangle is : %d", var3); } int area(int l, int b) //Function Definition { int A = l*b; return A; }

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