Language
C
Compiler
gcc 13.2.0
Options
Warnings
Compiler Default
no pedantic
#include <stdio.h>
int main(void) {
int N;
if (scanf("%d", &N) != 1) return 1;
printf("%d\n", (int)(sizeof(struct {char a; char b[N];})));
return 0;
}
-999
$ gcc prog.c -Wall -Wextra
-998
Exit Code:
0