online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
/****************************************************************************** Welcome to GDB Online. GDB online is an online compiler and debugger tool for C, C++, Python, PHP, Ruby, C#, VB, Perl, Swift, Prolog, Javascript, Pascal, HTML, CSS, JS Code, Compile, Run and Debug online from anywhere in world. Gabriel Staples 18 Feb. 2021 https://stackoverflow.com/questions/66271291/how-to-store-and-use-a-value-again-in-c/66271362#66271362 https://onlinegdb.com/rkDQf3nZ_ *******************************************************************************/ #include <stdio.h> // No globals: int lorem() { int value; printf("Enter an integer: "); scanf("%d", &value); return value; } void ipsum(int value) { printf("You entered: %d", value); } void main() { int val = lorem(); ipsum(val); }

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