ASK

In this page u can ask any question or query or code related to any of the programming language which may be of C,C++,JAVA.
The solution will be posted on the blog as soon as possible...
So don't hesitate ask anything u want....

3 comments:

  1. provide me program for concatinating two strings.

    ReplyDelete
  2. The program goes like this:-

    void main()
    {
    char a[]={"Hello"}; //declare first char array
    char b[]={"Everyone"}; //declare second char array
    char c[50];
    int n,i,j,k=0;
    clrscr();
    n=sizeof(a)+sizeof(b)-2; //store the total size of both array
    for(i=0;i<sizeof(a);i++) //storing first array in the resultant array
    c[i]=a[i];
    for(i=sizeof(a)-1;i<n;i++,k++) //storing the second array in the resultant array
    c[i]=b[k];
    for(i=0;i<n;i++)
    printf("%c",c[i]); //displat the result
    getch();
    }

    ReplyDelete
  3. Implement a program using Python for the data link layer framing methods such as
    (a) Character Stuffing (b) Bit Stuffing (c) Character Count

    ReplyDelete