Take a look at this problem for me.

enter a decimal number (an and b represent 10 and 11) and output as required

(1) the first line outputs the number under the decimal system of each bit

(2) the second line outputs the decimal number of this decimal number

(3) the third line outputs the converted decimal number in each binary number in memory (a total of four bytes, each byte separated by a space)

for example: enter: a2

output: 10 2

122

00000000 00000000 00000000 00001100

I would like to ask how the decimal 122 is converted into the following binary string. Can you explain it in detail?

C
May.07,2022

my understanding of this example may be wrong. It should be 00000000 00000000 00000000 01111010

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3edb1-2c42a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3edb1-2c42a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?