CODEBHAVYA · WRITE · RUN · LEARN
Online Compiler
Write a program, provide input and inspect the real compiler output.
Ready to run
Source code
C program
Program result
Output
ReadyReady for output. Run the program to see the result here.
Interactive · sent while running
Program input (stdin)
Program is waiting for input
Enter the value requested by your program, then press Enter.
Enter ↵
Use this only when your program asks for input. On mobile, CodeBhavya opens this panel automatically when input is expected.
- No input submitted yet.
01
Write your program
Use the editor or start with the greeting template.
02
Run and read the output
Compiler messages and program prompts appear in Output.
03
Respond only when asked
Enter each requested value in the Input panel below Output.
Code is kept only while this page is open. Download anything you want to keep. Do not run untrusted code or include private information.