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
Question 1 Discuss the two basic operational characteristics of RR Only an active route is redistributed Route redistribution does not impact local route selection

Question 1 Explanation of impact of Information Technology on governments Question 2 Explain application and system software Question 3 Briefly explain real time a

TELECOMMUNICATION PROTOCOLS: The two major components relating to a WAN are the Protocol and the Media. The media are the actual path ways that the protocol travels on. The ne

QUESTION (a) Give the representation of a queue as an abstract data type. (b) What is a priority queue? Give two types of priority queues. (c) The following program does

explain the steps to form a colourful card

explain CAI pitfalls

Why is the ATM selected as a transport network in 3G? Answer: ATM provides efficient support for transmission of voice, data, and video ATM provides QoS guarantee and reliability

Output Devices Video Display Unit (VDU) or Monitor Video Display Unit is similar to a television. It is used to display the results of processes. The screen is il

Greedy Search-artificial intelligence: If we have a heuristic function for states, as defined above, then we may simply measure each state with respect to this measure an

Uniform Path Cost Search-Artificial intelligence A breadth first search will search the solution with the shortest path length from the first state to the goal state. Though, t