#include#include #include void main(){ char destr[]=" hello hello sfs che heloo dsljd hello hello "; int num=1; char *p=destr; while(*p!='\0') { if(*p>='A'&&*p<='Z') { *p=*p-'A'+'a'; } if(*p==' ') { num++; *p='\0'; } p++; } int *array=(int*)malloc(num*sizeof(int)); array[0]=1; for(int i=1;i