Question: 70. Defining a hexadecimal number as in Problem 67, write the function int hexToDec(const int hexNum[]) to convert a four-digit hexadecimal number to a signed
70. Defining a hexadecimal number as in Problem 67, write the function int hexToDec(const int hexNum[])
to convert a four-digit hexadecimal number to a signed decimal integer. Do not output the decimal integer in the function. Test your function with interactive input.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
