Declaration of one dimensional array :
Like any other variable, arrays must be declared before they are used.
The general form of array declaration is,
type variable_name[size];
The type specifies the type of elements that will be contained in the array,
such as int, float etc.
The size indicates the maximum number of element that can be stored inside the array.
For example,
float height[80];
This declares the height to be an array containing 80 real numbers.
A corner of Computer Science & Engineering related things
Home
4th Semester
Algorithm Design Computer Architecture Database Management System Data Communications Economics5th Semester
Theory of Computation Microprocessor and Assembly Language Engineering Mathematics Sociology Technical Writing and Communications
.