#include <stdio.h> static const int SZ = 100; char str[SZ] = "Hello"; int main(void) { }
Standard input is empty
prog.c:4:6: error: variably modified ‘str’ at file scope char str[SZ] = "Hello"; ^~~ prog.c:4:16: warning: initializer-string for array of chars is too long char str[SZ] = "Hello"; ^~~~~~~
Standard output is empty