0% found this document useful (0 votes)
103 views2 pages

1 C Programming Linked List Download PDF

The document contains 5 multiple choice questions about linked lists and C programming. The questions test understanding of linked list concepts like the structure of nodes, underflow conditions, and the use of null pointers. They also include an array storage question. Each question is followed by an explanation of the correct answer.

Uploaded by

NAGARAJAN S
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
103 views2 pages

1 C Programming Linked List Download PDF

The document contains 5 multiple choice questions about linked lists and C programming. The questions test understanding of linked list concepts like the structure of nodes, underflow conditions, and the use of null pointers. They also include an array storage question. Each question is followed by an explanation of the correct answer.

Uploaded by

NAGARAJAN S
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

gkseries.

com
http://www.gkseries.com/computer-engineering/c-programming/linked-list/c-programming-multiple-choice-questions-and-answers-
on-linked-list-1

Linked Lists MCQs - C Programming Questions and Answers

1.

In linked list representation, a node contains at least

[A] node address field, data field

[B] node number, data field

[C] next address field, information field

[D] none of the above

Answer & Explanation

Answer: Option [C]

2.

Underflow condition in linked list may occur when attempting to

[A] insert a new node when there is no free space for it

[B] delete a non-existent node in the list

[C] delete a node in empty list

[D] insert a new node in the empty list

Answer & Explanation

Answer: Option [C]

3.

Which of the following is true in case of a null pointer?

[A] Marks the end of a node

[B] Is equal to '\0' in C

[C] Is the address of some node

[D] Is also called the void pointer in C

Answer & Explanation

Answer: Option [A]

4.
To find out maximum element in a list of n numbers, one needs at least

[A] n comparisons

[B] n-1 comparisons

[C] n(n-1) comparisons

[D] 2n-1 comparisons

Answer & Explanation

Answer: Option [B]

5.

An array A[15][20] is stored in memory. Each element is of integer type. If ther base address is 600 determine the
address of A[8][13] when the array is stored as row major wise

[A] 746

[B] 946

[C] 1146

[D] None of the above

Answer & Explanation

Answer: Option [B]

You might also like