Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

c strcat

#include <stdio.h>
#include <string.h>

int main() {
  /*
  strcat(char * destination, const char *source)
  attaches source to destination
  */
  
  char buffer[100] = "Hello ";
  strcat(buffer, "World!");
  printf("Buffer: %s
", buffer);
  return 0;
}
 
PREVIOUS NEXT
Tagged: #strcat
ADD COMMENT
Topic
Name
7+3 =