Step By Step Process In Concatenate Strings

  1. include<stdio.h>  
  2. #include<string.h>  
  3. int main()  
  4. {  
  5. char a[100],b[100];  
  6. printf("enter the first string\n");  
  7. gets(a);  
  8. printf("enter the second string\n");  
  9. gets(b);  
  10. printf("String obtained on concatenation is %s\n",a);  
  11. return 0;  
  12. }