강의

멘토링

커뮤니티

Inflearn Community Q&A

gamawoo101092's profile image
gamawoo101092

asked

Everything You Need to Know About C Language from the Author of Self-Study C Language

1.1 - Programming and the C Language / 1.2 - Using the Compiler

2진수를 10진수로 바꾸는 방법이 햇갈립니다.

Written on

·

284

0

만약 01000100 이렇게 되어있을 때처럼 어떻게 구하는지 알려 주세요.
c

Answer 1

0

68입니당 첫째 자리부터 2의 0승 2의 1 승 2의 2승 이런식으로 가기 때문에 왼쪽에서부터 7번째 자리인 2의 6승관 3번째 자리인 2의 2승을 더하면 68입니당

gamawoo101092's profile image
gamawoo101092

asked

Ask a question