मराठी
तामिळनाडू बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान इयत्ता ११

What is the syntax to declare two – dimensional array. - Computer Science

Advertisements
Advertisements

प्रश्न

What is the syntax to declare two – dimensional array.

टीपा लिहा

उत्तर

The declaration of a 2 – D array is
data – type array_name[row – size] [col – size];
In the above declaration, data-type refers to any valid C++ data – type, array _ name refers to the name of the 2 – D array, row – size refers to the number of rows and col-size refers to the number of columns in the 2 – D array.

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 12: Arrays and Structures - Evaluation - Section - B [पृष्ठ २२४]

APPEARS IN

सामाचीर कलवी Computer Science [English] Class 11 TN Board
पाठ 12 Arrays and Structures
Evaluation - Section - B | Q 3. | पृष्ठ २२४
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×