Nerd For Tech

NFT is an Educational Media House. Our mission is to bring the invaluable knowledge and experiences…

Follow publication

Member-only story

Understanding Bit Manipulation in C

Mohit Mishra
Nerd For Tech
Published in
5 min readSep 23, 2024

The Fundamentals of Binary Representation

00101010
2⁵ + 2³ + 2¹ = 32 + 8 + 2 = 42

Accessing Individual Bits

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Nerd For Tech
Nerd For Tech

Published in Nerd For Tech

NFT is an Educational Media House. Our mission is to bring the invaluable knowledge and experiences of experts from all over the world to the novice. To know more about us, visit https://www.nerdfortech.org/.

Mohit Mishra
Mohit Mishra

Written by Mohit Mishra

engineer | engineering | doing what i love

Responses (1)

The fundamental lesson about bit manipulation is it is low-level and primitive programming. It should only be used at the lowest levels of programming and then isolated to very small areas.
The problem is that programmers taught this (or anything)…

10