menu bar

Thursday, 14 April 2016

Translasi 6.9. Mencoba strcat



#include <iostream.h>
#include <string.h>
main() {
  char *kata1 = "Algoritma ";
  char *kata2 = "Pemrograman";
  strcat(kata1, kata2);
  cout <<  "Kata gabungan : %s",kata1);
  return 0;
}

No comments:

Post a Comment