fork download
  1. char *strcat(char *s1, const char *s2)
  2. {
  3. char *tmp = s1;
  4.  
  5. while (*s1) s1++;
  6. while (*s1++ = *s2++);
  7. return (tmp);
  8. }
  9.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘strcat’:
prog.c:6: warning: suggest parentheses around assignment used as truth value
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
stdout
Standard output is empty