Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

c concaternate string

#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 #string
ADD COMMENT
Topic
Name
6+9 =