I want to see the Hex representation of an 8 character long aray of char. The value printed is not correct. I'm not really sure on the syntax associated with printing Hex notation.
Thanks,Code:# include <stdio.h> int main () { char Name[8]; printf("Enter an 8 letter name:\n\n"); scanf("%s", &Name); printf("name entered: %s\n\n", Name); printf("name entered in Hex: %08x\n\n", Name); return 0; }