mirror of
https://github.com/ioacademy-jikim/debugging
synced 2025-06-08 16:36:21 +00:00
16 lines
177 B
C
16 lines
177 B
C
#include <stdlib.h>
|
|
#include <unistd.h>
|
|
|
|
int main(void)
|
|
{
|
|
int y = 0;
|
|
int* x = calloc(1,sizeof(int));
|
|
free(x);
|
|
|
|
y += x[0];
|
|
sleep(1);
|
|
y += x[0];
|
|
|
|
return y;
|
|
}
|