title: How to convert decimal number into a hexadecimal number then store the corresponding result in an integer as a decimal value
body: <p>In a C program, I stored a decimal number 837 in an integer, its Hexdecimal value is 0x345. Now I want to store the same Hexdecimal value of that variable to integer variable as 345. How to do it?</p>