mirror of
https://github.com/ioacademy-jikim/debugging
synced 2025-06-08 08:26:14 +00:00
13 lines
186 B
C
13 lines
186 B
C
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
int main ( void )
|
|
{
|
|
char* aa = malloc(8);
|
|
aa[-1] = 17;
|
|
if (aa[-1] == 17)
|
|
printf("17\n"); else printf("not 17\n");
|
|
return 0;
|
|
}
|