C program for Read and Display a String

#include<stdio.h>
 #include<conio.h> 
 int main()
{
 char str1[30],str2[30];
 printf("\nenter two strings");
  scanf("%s %s",str1,str2); 
 
printf("\n%s %s",str1,str2);
}

Comments

Popular posts from this blog

Single Program Using All Automatic String Functions

C program for subtraction of two matrices (2D Arrays)

C program for Multiplication of Two matrices