This topic contains 0 replies, has 0 voices, and was last updated by  EduGorilla 1 year, 11 months ago.

  • Author
    Posts
  • #742936 Reply
     EduGorilla 
    Keymaster
    Select Question Language :


    Let the node structure in a linked list be
    struct node
    {
    int x;
    struct node *next;
    }
    Which of the following correctly adds a node pointed to by the pointer Q after the node pointed to by the pointer P?

    Options :-

    1. Q->next = P->next;
      P->next=Q;
    2. P->next =Q
      Q->next=P;
    3. P->next=Q;
      Q->next=P->next;
    4. Q->next=P;
      P->next=Q;
    Post your Training /Course Enquiry
    Are You looking institutes / coaching center for
    • IIT-JEE, NEET, CAT
    • Bank PO, SSC, Railways
    • Study Abroad
    Select your Training / Study category
Reply To: Let the node structure in a linked list be struct node{int x;struct node *next;}Which of the followi….
Your information:




GET UPTO 50%    OFF!
Verify Yourself




Log in with your credentials

or    

Forgot your details?

Create Account