Important: Use custom search function to get better results from our thousands of pages

Use " " for compulsory search eg:"electronics seminar" , use -" " for filter something eg: "electronics seminar" -"/tag/" (used for exclude results from tag pages)


 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Program to implement the data link layer framing method character stuffing
Post: #1

Code:
#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{
int i,j,k,n,c=0,l;
char s[20];
clrscr();
printf("\t enter the string \n\t");
gets(s);
l=strlen(s);
printf("\t%d",l);
printf("\n\n");
j=0;
printf(" \tenter the frame size: \t ");
scanf("%d",&n);
k=l/n;
for(i=0;i<k;i++)
{
printf("\t DLESTX");
while(j<l)
{

putchar(s[j]);
c++;
j++;
if(c==n)
break;
}
printf(" DLESTX \t");
printf("\n\n");
c=0;
}
getch();
 

Marked Categories : a seminar on data link layer, data link layer framing methods, implementation of character stuffing in c, implementation of data link layer framing method using character stuffing, data link layer framing method implementation in c using character stuffing, program for data link layer functions, data link layer programs, implementation of the data link layer framing method such as character stuffing and, framing methods in data link layer c programs, character stuffing program using strings, character stuffing program in c, c program for data link layer, how to program in data link layer, framing methods in data link layer, framing method program in c,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Image Verification
(case insensitive)
Please enter the text within the image on the left in to the text box below. This process is used to prevent automated posts.

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  data flow diagram cpu scheduling Guest 1 0 Today 04:53 PM
Last Post: jaseela123
  matlab program for extended equal area criterion Guest 1 185 Yesterday 12:59 PM
Last Post: jaseela123
  c program to implement dijkstra s algorithm using ospf protocol Guest 1 153 Yesterday 12:56 PM
Last Post: jaseela123
  water tank design by limit state method ppt Guest 0 0 24-04-2017 08:33 AM
Last Post: Guest
  design data of pedal powered refrigerator Guest 0 0 22-04-2017 05:18 PM
Last Post: Guest
  advanced data structures by aa puntambekar free download Guest 1 177 21-04-2017 02:51 PM
Last Post: jaseela123
  chemical co precipitation method ppt Guest 1 0 21-04-2017 10:38 AM
Last Post: jaseela123
  performance appraisal method used at nestle Guest 1 174 21-04-2017 10:10 AM
Last Post: jaseela123
Shocked advanced data recovery seminar topic ppt download Guest 1 176 20-04-2017 04:49 PM
Last Post: jaseela123
  fatigue analysis of a shaft on ansys downloading link Guest 1 212 20-04-2017 03:31 PM
Last Post: jaseela123
This Page May Contain What is Program to implement the data link layer framing method character stuffing And Latest Information/News About Program to implement the data link layer framing method character stuffing,If Not ...Use Search to get more info about Program to implement the data link layer framing method character stuffing Or Ask Here

Options: