but it's not working... any help please?Code:char *time=(char*)malloc(9*sizeof(char *)); time=__TIME__; for(i=0;i<9;i++); if(time[i]>='0' && time[i]<='9') printf("correct");
the 'error message' its no print message
any help would be grateful
what i want is to get every number of the time for example if time is 20:22:23
i want to get a string 202223