#include <stdio.h> void f1() { char text1[] = "000.00"; } void f2() { char[] text2 = "000.00"; } int main(void) { return 0; }
Standard input is empty
prog.c: In function 'f1': prog.c:5:7: warning: unused variable 'text1' [-Wunused-variable] char text1[] = "000.00"; ^ prog.c: In function 'f2': prog.c:9:6: error: expected identifier or '(' before '[' token char[] text2 = "000.00"; ^
Standard output is empty