Declaration Of Arrays

Arrays, like simple variables, need to be declared before use. An array declaration is of the form

typearray_name [expe_1]

wherearray_name is the name of the array being declared, type is the type of elements that will be contained in the array and expel is the constant integral expression specifying the number of elements in the single dimensional array. For example, the declaration

Float rating [10];

Specifies rating to be an array of 10 elements of type float.

Live Online Email Based Homework Assignment Help In Declaration Of Arrays

Transtutors comprises highly qualified and certified teachers, college professors, subject professionals in various subjects like C language etc. All our C language tutors are highly experienced and can clear your doubt regarding declaration of arrays and can explain the different concepts to you effectively.