#include void main() { int i,pos,noc,j; char str[50],substr[51]; clrscr(); printf("Enter the string:\t"); scanf("%[^\n]",str); printf("Enter the positon & number of characters:\t"); scanf("%d%d",&pos,&noc); //Method 1. j=noc+pos-1; for (i=0;i=pos-1) printf("%c",str[i]); }//for getch(); //method 2; j=pos-1; for(i=0;i