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 List down any six features of a Smartphone Question 2 Give a brief note on a) Internal Flash Disk. b) Use of C++ in Symbian OS Question 3 What are the naming

Hello, Could you create a linux calculator using very basic java code (not complex, because I am a novice java coder). It should be called into the terminal for interaction. Thank

Perverse software: Perverse software is a program which causes hindrances in other programs execution in such a way resulting in modification or complete destruction of data w

COMPUTER INPUT: Figure shows input information for a typical airborne digital computer.  The sensors in Figure develop analogue electrical signals representing: -

#whatis cai?and its pit fallsquestion..

What is methods For handling Deadlocks?

External interruptions are produced by peripheral devices, for example keyboards, printers, communication cards, etc. They are also produced by coprocessors. It is not achievable t

Python is an interpreted, high-level, interactive and object oriented-scripting language. Python was designed to be extremely readable which uses English keywords commonly where as

QUESTION (a) What is Multi-Protocol Label Switching (MPLS)? List the main advantage of running MPLS in a service provider network (b) What is a label? Explain the structure