Displaying Source Code(s)
|
|
Program to create an alternative version of squeeze(s1,s2) that
deletes each character in s1 that ma
--------------------------------------------------------------------------------
#include <stdio.h>
#include <conio.h>
void main()
{
char s1[20],s2[20];
int i,j;
clrscr();
printf("
Enter string 1:- ");
gets(s1);
printf("
Enter the string for matching:- ");
gets(s2);
for (i=0;(i<20&&s1[i]!='
|
|
|