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
English,
2 months ago
Social Sciences,
2 months ago
Math,
5 months ago
Social Sciences,
5 months ago