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
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?