How do (array) variables help in programming complex problems?
There is no maximum limit to the size of an array, nor any requirement that member variables be indexed or assigned and arrays are zero-based: the first element is indexed with the number 0. An indirect declaration is done using the following syntax to declare a variable. Therefore, an array lets you declare and work with a collection of values of the same type. If you wanted to declare a thousand variables arrays can make it really simple Example: If you want to declare five integers in C# for example: int a, b, c, d, e; A better way would be: int list [5]
So, how do (array) variables help in programming complex problems?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here