#include<stdio.h> main() { char blog1[50],blog2[50]; printf("Enter string 1.\n"); scanf("%s",blog1); printf("Enter string 2.\n"); scanf("%s",blog2); printf("Concatinated string - %s",strcat(blog1,blog2)); }
OUTPUT [Click to enlarge]:
All in one blogging website