Menu

Question Discussion & Solution

MCQ
Q.
Consider the below representation and predict what will be printed on the screen by following statement ?start->next->data

struct node {
      int data;
      struct node *next;
}*start = NULL;

forum Community Discussion

speaker_notes_off

No discussions yet. Be the first to start!

You must be logged in to participate in the discussion.

login Login to Discuss

auto_awesome Similar Questions

MCQ
1.
What is the output of following function for start pointing to first node of following linked list?
1->2->3->4->5->6

void fun(struct node* start)
{
  if(start == NULL)
    return;
  printf("%d  ", start->data); 
  
  if(start->next != NULL )
    fun(start->next->next);
  printf("%d  ", start->data);
}
forum Discussion
MCQ
2.
In simple chaining, what data structure is appropriate?
forum Discussion
MCQ
3.
In linked list each node contain minimum of two fields. One field is data field to store the data second field is?
forum Discussion
MCQ
4.
Disadvantages of xor lists
forum Discussion
MCQ
5.
In a singly-linked list (linear linked list), how many fields does each node consists of?
forum Discussion

category More Data Structure Topics

article

Data Structure Basics

format_list_bulleted 128 MCQs
article

Abstract data types

format_list_bulleted 37 MCQs
article

Arrays

format_list_bulleted 134 MCQs
article

Lists

format_list_bulleted 166 MCQs
article

Stacks

format_list_bulleted 165 MCQs
article

Queues

format_list_bulleted 61 MCQs
article

Trees

format_list_bulleted 133 MCQs
article

Binary Trees

format_list_bulleted 120 MCQs
article

B Trees

format_list_bulleted 8 MCQs
article

Heaps

format_list_bulleted 36 MCQs
article

Hash based structures

format_list_bulleted 7 MCQs
article

Graphs

format_list_bulleted 157 MCQs
article

Mixed

format_list_bulleted 10 MCQs