#include <stdio.h> int main(void) { char *nowy = "Test"; char *nowy = NULL; return 0; }
Standard input is empty
prog.c: In function ‘main’: prog.c:5:8: error: redefinition of ‘nowy’ char *nowy = NULL; ^~~~ prog.c:4:8: note: previous definition of ‘nowy’ was here char *nowy = "Test"; ^~~~ prog.c:5:8: warning: unused variable ‘nowy’ [-Wunused-variable] char *nowy = NULL; ^~~~
Standard output is empty