Run id: 124951
Main.cc: In function 'int main()':
Main.cc:8:18: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'int*' [-Wformat=]
scanf("%s%s",a,b);
^
Main.cc:8:18: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'int*' [-Wformat=]
Main.cc:9:12: error: cannot convert 'int*' to 'char*' for argument '1' to 'char* strcat(char*, const char*)'
strcat(a,b);
^
Main.cc:11:18: error: cannot convert 'int*' to 'const char*' for argument '1' to 'size_t strlen(const char*)'
int len=strlen(a);
^
Main.cc:8:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s%s",a,b);
^
Main.cc:10:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^