Run id: 125049
Main.cc:21:2: error: stray '#' in program
}#include
^
Main.cc:21:3: error: 'include' does not name a type
}#include
^
Main.cc:24:12: error: redefinition of 'char a [1500]'
char a[1500];
^
Main.cc:4:6: note: 'char a [1500]' previously declared here
char a[1500];
^
Main.cc:25:10: error: redefinition of 'char b [10]'
char b[10]="hello";
^
Main.cc:5:6: note: 'char b [10]' previously defined here
char b[10]="hello";
^
Main.cc: In function 'int main()':
Main.cc:26:5: error: redefinition of 'int main()'
int main()
^
Main.cc:6:5: note: 'int main()' previously defined here
int main()
^
Main.cc: In function 'int main()':
Main.cc:8:15: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",a);
^
Main.cc: In function 'int main()':
Main.cc:28:15: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",a);
^