[ create a new paste ] login | about

Link: http://codepad.org/sB9hN51s    [ raw code | output | fork ]

slevy1ster - C, pasted on Apr 4:
1
2
3
4
5
6
7
8
9
10
11
#include <stdio.h>
#include <string.h>

int main () {
   char str[] = "beta";
   char target[] = "alpha";

   printf("Result: %s", strcat(target, str));
   
   return(0);
}


Output:
1
Result: alphabeta


Create a new paste based on this one


Comments: