How octal and hexadecimal number are represented in C
Answers
Answered by
0
Answer:
C provides a feature to assign variables in octal and hex representation. To assign octal value to int variable precede value with 0 (zero) . To assign hex value to int variable precede value with 0x or oX . To print the values in octal and hex we have format specifier %o and %x
I HOPE IT'S HELPFUL
PLEASE MARK MY ANSWER AS BRAINLIST
Similar questions