Question
Download Solution PDFWhich one of the following is not correct when we define either a class that does not implement either a mathematical entity like a matrix or a complex number or a low level type such as linked list?
This question was previously asked in
ESE Electronics Prelims 2021 Official Paper
Answer (Detailed Solution Below)
Option 3 : Don't use public data members
Free Tests
View all Free tests >
ST 1: UPSC ESE (IES) Civil - Building Materials
6.1 K Users
20 Questions
40 Marks
24 Mins
Detailed Solution
Download Solution PDFA linked list consists of a number of nodes in which each node has a next pointer to the following element. The link of the last node in the list is NULL, which indicates the end of the list.
Array occupies continues memory locations. In linked lists, it's not necessary that the nodes created are in a continues memory location so that the possibility of the cache miss is higher.Last updated on May 28, 2025
-> UPSC ESE admit card 2025 for the prelims exam has been released.
-> The UPSC IES Prelims 2025 will be held on 8th June 2025.
-> The selection process includes a Prelims and a Mains Examination, followed by a Personality Test/Interview.
-> Candidates should attempt the UPSC IES mock tests to increase their efficiency. The UPSC IES previous year papers can be downloaded here.