Files
RedBear-OS/tests/alloca.c
T
2019-02-20 19:27:18 +01:00

13 lines
189 B
C

#include <alloca.h>
#include <stdio.h>
#include <string.h>
int main(void) {
char *str = (char *) alloca(17);
memset(str, 'A', 16);
str[16] = '\0';
printf("%s\n", str);
}