This repository has been archived on 2026-10-11. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

15 lines
216 B
C

#include <stdio.h>
#include <stdlib.h>
int max(int a, int b) {
if (a > b)
return a;
return b;
}
void checkPointer(void* p) {
if (!p) {
fprintf(stderr, "Error on given pointer.\n");
exit(EXIT_FAILURE);
}
}