Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

c concaternate strings

#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: #concaternate #strings
ADD COMMENT
Topic
Name
7+9 =