13 lines
157 B
C
13 lines
157 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
int main() {
|
|
void *m;
|
|
printf("Malloc test\n");
|
|
if(!malloc(100)) {
|
|
perror("malloc");
|
|
return 1;
|
|
}
|
|
return 0;
|
|
}
|