You cannot find the ascii value of a complete string
to get the ascii value of a single character you could just cast it to an int


Code:
char * str = "HELLO";
int i, cnt = strlen(str);
for ( i = 0; i < cnt; ++I )
    printf("%d,", (int)str[i]);
Kurt