how to create pointer to a bit in c-language

bit, byte, c, pointers

Solution

The char is the 'smallest addressable unit' in C. You can't point directly at something smaller than that (such as a bit).

Problem

As we know a in c-language char pointer traverse memory byte by byte i.e. 1 byte each time, and integer pointer 4 byte each time(in gcc compiler), 2 byte each time(in TC compiler). for example: ``` char *cptr; // if this points to 0x100 cptr++; // now it points to 0x101 int *iptr; // if this points to 0x100 iptr++; // now it points to 0x104 ``` My question is: How to create a bit pointer in c which on incrementing traverse memory bit by bit?

Original source