? \r#$?%&'main,?%-./0.1%2?34*/\rSinclude<conio.h>\rSinclude<stdio.h>\rSinclude<string.h>\r#include<windows.h>\rintfun(char*s,char*tl,char*t2,char*w)\rinti;char*p,*r,*a;\rstrcpy(w,s)N\rwhile(*w)\r{p=w;r=tl;\r/**********ERROR**********/\rwhile(*r)\rif(*r==*p){r++;p++;}\relsebreak;EvaluationWarning:ThedocumentwascreatedwithSpire.PDFfor.NET.\rif(*r='\0')\r{a=w;r=t2;\r/**********ERROR**********/\rwhile(*r){*a=*r;a++;r++;}\rw+=strlen(t2);\r)\relsew++;\r}\r)\rmain()\r(\rchars[100],tl[100],t2[100],w[100];\rsystemCzcls/z);\rprintf(z\nPleaseenterstringS:) scanf(`s0s);\rprintf(/z\nPleaseentersubstringtl:) scanf(%s0tl);\rprintf(z\nPleaseentersubstringt2:) scanf(`s0t2);\rif(strlen(t1)==strlen(t2)){\rfun(s,tl,t2,w);\rprintfC?\nTheresultis:%s\n0w);\relseprintf("Error:strlen(tl)!=strlen(t2)\nz);