int i=010;//u can say it unpaked BCD NO...//treat this as decimal ..convert it into hex...& print that hex value in decimal type without converting..//
printf("i=%d\t",i);//will print its hex value in decimal form // i=0000 1000 comes when converted it into binary form..//so ...this is 08 ...so it prints...hex value like decimal but not convertd into decimal..//
i=0x10;//i is already hex value a hex value ..so converts it into decimal value to print it into decimal value..//
printf("dec=%d\t",i);//10 means its binary is 0001 0000//so convert it into decimal value place of 1 is 4th position..... so 4 pow(2)=16...//