Hello
I need to do it in ansi c
Can't seem to get it to work at the moment.
unsigned char *s
scanf("%x", &s);
I then want to do if statements based on the amount of characters contained in the variable s. Whats the easiest way to get this? An example of whats contained in s is "4200FF" as its a prompt for the user to insert hex address.
printf("\nContents of hex are %lx\n", hex");
Shows correctly what I want to count
Thanks