I came across these two methods to concatenate strings:
Common part:
char* first= \"First\"; char* second = \"Second\"; char* both = malloc(strlen(fi
Don't worry about efficiency: make your code readable and maintainable. I doubt the difference between these methods is going to matter in your program.