Int i = 0x0b and int I =11; Everything in the machine says the same thing.
If you want to convert 10 radix into 16 radix described by characters, use sprintf, for example:
int I = 1 1;
char string[20];
sprintf(str," %02X ",I);
printf("%s ",str);