Consider Column-I and Column-II in context of C++: Column-I (स्तम्भ-I)…

2022

Consider Column-I and Column-II in context of C++:

Column-I (स्तम्भ-I) Column-II (स्तम्भ-II) i. Private a. Data type modifier ii. Sizeof b. Visibility specifier iii. Static c. Operator iv. Long d. Storage class

  1. A.

    i-d, ii-c, iii-a, iv-b

  2. B.

    i-c, ii-d, iii-b, iv-a

  3. C.

    i-a, ii-d, iii-b, iv-c

  4. D.

    i-b, ii-c, iii-d, iv-a

Attempted by 691 students.

Show answer & explanation

Correct answer: D

Step 1: Match 'Private' with 'Visibility specifier' because 'Private' controls access to class members.

Step 2: Match 'Sizeof' with 'Operator' because 'Sizeof' is used to calculate the size of data types or variables.

Step 3: Match 'Static' with 'Storage class' because 'Static' determines the lifetime of a variable.

Step 4: Match 'Long' with 'Data type modifier' because 'Long' extends the range of integer types.

हिन्दी उत्तर:

चरण 1: 'Private' को 'दृश्यता स्पेसिफायर' के साथ मिलाएं क्योंकि 'Private' क्लास सदस्यों की पहुंच को नियंत्रित करता है।

चरण 2: 'Sizeof' को 'ऑपरेटर' के साथ मिलाएं क्योंकि 'Sizeof' डेटा प्रकार या चर का आकार गणना करने के लिए उपयोग किया जाता है।

चरण 3: 'Static' को 'स्टोरेज क्लास' के साथ मिलाएं क्योंकि 'Static' एक चर के जीवनकाल को निर्धारित करता है।

चरण 4: 'Long' को 'डेटा प्रकार संशोधक' के साथ मिलाएं क्योंकि 'Long' पूर्णांक प्रकारों की सीमा को विस्तारित करता है।

Explore the full course: Rssb Basic Computer Instructor