fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. char *nowy = "Test";
  5. char *nowy = NULL;
  6. return 0;
  7. }
  8.  
Compilation error #stdin compilation error #stdout 0s 9296KB
stdin
Standard input is empty
compilation info
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;
        ^~~~
stdout
Standard output is empty