#include <stdio.h>
#include <stdlib.h>

int main(int argc, char *argv[]) {
    int n = atoi(argv[1]);
    int *pointer;
    
    printf("n = %i\n", n);
    pointer = malloc(sizeof(*pointer) * n);
    if (pointer == NULL) {
        fprintf(stderr, "Nicht genug Speicher!\n");
	exit(EXIT_FAILURE);
    }
    free(pointer);
    return EXIT_SUCCESS;
}
