online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> #include <stdint.h> uint16_t max1(uint16_t A, uint16_t B) { uint16_t array[] = {0x0000, 0xFFFF}; return A^((A^B)&(array[A<B])); } uint16_t max2(uint16_t A, uint16_t B) { uint16_t array[] = {A,B}; return array[A<B]; } int main() { printf("MAX is : %d, %d", max1(30, 20), max2(20, 30)); 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