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

Write note on Array of strings. - Computer Science

Advertisements
Advertisements

प्रश्न

Write note on Array of strings.

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

उत्तर

An array of strings is a two – dimensional character array. The size of the first Index (rows) denotes the number of strings and the size of the second index (columns) denotes the maximum length of each string. Usually, an array of strings are declared in such a way to accommodate the null character at the end of each string. For example, the 2 – D array has the declaration:
char name [7][10];
In the above declaration,
No. of rows = 7;
No. of columns =10;
We can store 7 strings each with a maximum length of 10 characters.

shaalaa.com
Array of Strings
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 12: Arrays and Structures - Evaluation - Section - C [पृष्ठ २२४]

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×