#include <stdio.h> #define MAX_N_LENGTH int main(void) { char buf[1 + MAX_N_LENGTH]; buf[0] = 0; // your code goes here return 0; }
Standard input is empty
prog.c: In function 'main': prog.c:4:27: error: expected expression before ']' token char buf[1 + MAX_N_LENGTH]; ^ prog.c:4:7: error: unused variable 'buf' [-Werror=unused-variable] char buf[1 + MAX_N_LENGTH]; ^ cc1: all warnings being treated as errors
Standard output is empty