How octal and hexadecimal number are represented in C
Answers
Answered by
1
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 .
Explanation:
Similar questions
Math,
3 months ago
Math,
3 months ago
English,
3 months ago
Math,
8 months ago
Social Sciences,
8 months ago