Home / Tag Archives: Bit Stuffing

Tag Archives: Bit Stuffing

C Program for Bit Stuffing

Bit stuffing in network lab C C++ programming

Bit Stuffing: In bit stuffing following rules hold:-  To the given bits add the string 01111110 to both the starting and the end of the string To add 0 to each set of 5 one’s i.e. after every five consecutive 1’s appear a zero #include "stdio.h" #include "conio.h" int main() { int i=0,count=0; char a[100]; printf("enter the bits : "); scanf("%s",a); printf("\nAfter ...

Read More »