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 a) Cryptography is a set of techniques and mathematical algorithms. Describe four important areas where cryptography must be applied b) What is the importance of us

Telecommunications: 'Data communications', 'Communications technology', 'Computer telecommunications', Compunications', 'Telecomputing', etc., are just some of the terms we co

NETWORKING AND TELECOMMUNICATIONS: Computers can now communicate with each other and with a range of peripheral devices, over distances with increasing speed and reliability.

Please what is the different between computer science and information technology? Which of this require too much reading? Thanks

For multi-national business IT system, free and open source software (FOSS) is recommended over a proprietary system. The reasons for this recommendation are: 1. Security I

Syntax: Syntax provides the structure and how to formulate the phrase or sentence w.r.t grammar of the language. It tells us about which composition is allowed from the charac

Question 1 Explain the various tools used for open source software development Question 2 Discuss the OSS licensing strategies Question 3 Explain the software developmen

Problem 1 What is precedence of operators? How are expressions evaluated using precedences? Defining precedence of operators Explanation of how expressions are evaluat

Need of operating system: What kind of facilities operating system provides to the users and programs: The operating system provides interfaces for the user (keyboard, m

The primary step is to start the Debug; this step only consists of typing debug [Enter] on the operative system on time. the "a" (assemble) command is used To assemble a program on