One dimensional array, Basic Computer Science

One dimensional array:

 A one-dimensional array  is a structured collection of elements  that can be accessed individually by specifying the position of a component with  index/ subscript  value. The index would let us refer to the corresponding value. value at that .   Like a regular variable, an array must be declared before it is used. A typical declaration for an array in C++ is:  type name [elements];  where type is a valid data type (like int, float...), name is a valid identifier  or variable name and the elements field (which is always enclosed in square brackets []), specifies how many of these elements the array will contain. Therefore, in order to declare an array named as marks, that will store marks for 5 students,   

2160_array.png

Posted Date: 10/23/2012 3:51:04 AM | Location : United States







Related Discussions:- One dimensional array, Assignment Help, Ask Question on One dimensional array, Get Answer, Expert's Help, One dimensional array Discussions

Write discussion on One dimensional array
Your posts are moderated
Related Questions
A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

Moderns: As it was explained earlier, communications channels can operate in either the Analog or digital mode. However, a given circuit can operate only in one mode not both

THE FIRST GENERATION (1949-1955) The computers in this generation have the following characteristics:     Physically large in size     Inflexible in operations


• The SRT is the preemptive complement of SJF and helpful in time-sharing environment. • In SRT scheduling, the process with the least estimated run-time to completion is run next,

COMPONENTS OF A COMPUTER: We use a computing system basically to feed in some data that is processed by the computer and some information is generated as a result.. For this w

Question 1 Explain the configuration steps involved in CMOS setup Date and time Error halt Floppy drive A Halt on Hard disk C HDD Delay Keyboard Memory

short note about extension..

explian set associte mapping

Our instructor gave us a project in making a mechanical game or simple device using assembly language, can anyone give me a an example of a project description for our proposal?