online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include<stdio.h> void compare(int *p ,int *q){ if (*p<*q) { printf("\n%d is the maximum number.\n",*q); } else if (*p>*q) { printf("\n%d is the maximum number.\n",*p); } else { printf("\nBoth are equal number.\n",*p); } } int main() { int num1 , num2; printf("\n\tInput the first number : "); scanf("%d",&num1); printf("\n\tInput the second number : "); scanf("%d",&num2); printf("\n--------X--------------X---------------X------------\n"); compare(&num1 , &num2); return 0; }

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