हिंदी
तमिलनाडु बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान कक्षा १२

What is a Pair? Give an example. - Computer Science

Advertisements
Advertisements

प्रश्न

What is a Pair? Give an example.

टिप्पणी लिखिए

उत्तर

  • Pair is a compound structure that is made up of a list of Tuple
  • The way of bundling two values together into one can be considered as a Pair.
  • Example: Pr = [10,20]
    a,b :=Pr
    In the above example ‘a’ becomes 10,’ b’ becomes 20.
shaalaa.com
Introduction to Data Abstraction
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 2: Data Abstraction - Evaluation [पृष्ठ १९]

APPEARS IN

सामाचीर कलवी Computer Science [English] Class 12 TN Board
अध्याय 2 Data Abstraction
Evaluation | Q 3. | पृष्ठ १९
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×