E
E
Elvin_GSNV2018-03-18 00:57:04
Number systems
Elvin_GSNV, 2018-03-18 00:57:04

What do these things mean: 0x01, 071 in C language?

What is meant by such a notation, when is it useful to use it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
VrencchBug, 2018-03-18
@VrencchBug

"0x" means that 01 is not in decimal, but in hexadecimal number system.
It's mostly useful when you're getting this value from documentation, where it's more common to use hexadecimal than 10. This is usually the case in the documentation: all constants are hexadecimal.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question