From 50281a218c95fb156101d64bf9a6947aee33e312 Mon Sep 17 00:00:00 2001 From: Sonu Kushwaha <77428175+SonuKushwaha-hub@users.noreply.github.com> Date: Sat, 29 Oct 2022 12:53:50 +0530 Subject: [PATCH] Create Byte Stuffing --- Byte Stuffing | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 Byte Stuffing diff --git a/Byte Stuffing b/Byte Stuffing new file mode 100644 index 00000000..47d04118 --- /dev/null +++ b/Byte Stuffing @@ -0,0 +1,47 @@ +#include +using namespace std; + +int main() { + char s[50], data[100]; + int i,j,n,m; + cout<<"Enter Size"<>n; + cout<<"Enter Data"<>s[i]; + + data[0] = 'D'; + data[1] = 'L'; + data[2] = 'E'; + data[3] = 'S'; + data[4] = 'T'; + data[5] = 'X'; j = 6; + m = 6; + + for(int i=0;i