CPP/Uebungen/01_AdvC04.cpp
localhorst ca72b7059d blavla
Signed-off-by: localhorst <localhorst@mosad.xyz>
2018-06-21 15:44:36 +02:00

16 lines
235 B
C++

#define MAX(a, b) ((a) < (b) ? (b) : (a))
#include <iostream>
using namespace std;
int main() {
int iwert2 = 1000;
unsigned int uiwert2 = -1500;
printf("Maximum: %d\n", MAX(iwert2, uiwert2));
// --> nicht TypeSafe
return 0;
}