online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
/* File Name -: odd.c Author Name -: Jeetu Sahu Date -: 27/12/2020 Description -: A Program to find Area of Circle */ #include<stdio.h> // Link Section #define PI 3.14 // Definition Section float r; // Global Declarations Section float area(float); // Global Declarations Section int main(void) // Main functions Section { float aoc; // Declaration Part printf("Enter the radius of circle"); // Execution Part scanf("%f",&r); aoc=area(r); printf("area of circle is %f",aoc); return (0); } float area(float R) // User-Defined Functions or Sub Program Section { return (R*R*PI) ; }

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