Your IP : 216.73.216.40


Current Path : /var/www/html/venkat/old/old/
Upload File :
Current File : /var/www/html/venkat/old/old/iit2015136_5.c

#include<stdio.h>
void main(){
	char a[100],b[100],c,d;
	int m,n,i,j;
	printf("enter the first string");
	scanf("%s",&a[c]);
	printf("enter the second string");
	scanf("%s",&b[d]);
	m=strlen(a);
	n=strlen(b);
	
	
	for(i=0;i<=m;i++)
	{
	for(j=0;j<=n;j++)
	{
		if(a[i]=b[j])
		{
			printf("the similar elements are %s",a[i]);
		}
	}
	}
	}