Tuesday , December 6 2016
Home / C / C Program for Bit Stuffing

C Program for Bit Stuffing

Bit Stuffing: In bit stuffing following rules hold:- 
  1. To the given bits add the string 01111110 to both the starting and the end of the string
  2. To add 0 to each set of 5 one’s i.e. after every five consecutive 1’s appear a zero

 

OUTPUT:

bit stuffing

 

Tags: Write a C program for bit stuffing, bit-stuffing

Also See:   C program for Sum of two number using While LOOP

Check Also

Hide Mouse Pointer C Program

How to Hide a Mouse Pointer Program in C : This program will show and hide ...

7 comments

  1. program is not correctly executing

  2. cout1 is not initilized

  3. awesome code…. and its soooooooooooo simple and short….. thank you

  4. very useful….
    but the coding for destuffing the bits is not found..

Leave a Reply

Your email address will not be published. Required fields are marked *

Preventing spam * Time limit is exhausted. Please reload the CAPTCHA.