online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> // The function signature void power(int *x, int *y); int main(void) { int bs, pw; printf("Enter the value of base and power: "); // Verifying the inputs if (scanf("%d%d", &bs, &pw) != 2) return 1; power(&bs, &pw); return 0; } // The function definition void power(int *x, int *y) { long long result = 1; // Dereferencing and using assignment operator for self-multiplication with // the dereferenced 'x' for (int i = 0; i < *y; i++) result *= *x; printf("Results: %lld\n", result); }

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