tuxman Profile Answers by tuxman Dec 22nd, 2010 #include<stdio.h>#include<string.h>main(){ char str[100],substr[4]; int i,j,k,l,m; printf("Enter the string:"); gets(str); for(i=0;i<(strlen(str)-2);i++) { k=i; for(j=0;j<3;j++) { substr[j]=str[k]; k++; } substr[3]='
C program
Profile Answers by vishv Questions by vishv
Questions by vishv