answersLogoWhite

0


Best Answer

It is inappropriate and non-portable to consider the address or the relative address of a particular item in an array, because different compiler implementations might be different. Even within the same implementation, there might be issues due to alignment or segmentation. That said, it is perfectly legal and defined to assign a pointer to the address of an element and then perform arithmetic on the pointer, with consistent results. You should not, however, consider the "arithmetic" value of the pointer to have any particular meaning, especially since the concept of "adding one" to such a pointer means to add by the number of bytes in a single element, not (as thought) to add by one. Such "pointer arithmetic" is not advised (or defined ??) when you step beyond the bounds of any one sub-array, again, due to possible alignment issues. Consider your example of an array of char [200][150][50]. You can theoretically think of the memory layout as simply being sequential, with the left-most index varying quickest, and that might work 99.99% of the time. I go for the 100% case and treat the pointer as an opaque object, with no consideration of its internal representation.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: A character Array is defined as char Array 200 150 50 find the address of cell Array 125 80 20?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How are elements of an array stored in memory?

Computer memory is linear so a one dimensional array can be mapped on to the memory cells in rather straight forward manner.To find the actual address of an element one needs to subtract one from the position of the desired entry and then add the result to the address of the the first cell in the sequence.Having said that therefore it is necessary to know the starting address of the space allocated to the array and the size of the each element, which is same for all the elements of an array.The the location of the Ith element would be B+I*S where B is the base address(Starting address of the array) and S is the size of each element of the array.


What are the combination of numbers on the left side and a letter on the top of a spreadsheet that addresses a cell called?

A cell address or a cell reference.A cell address or a cell reference.A cell address or a cell reference.A cell address or a cell reference.A cell address or a cell reference.A cell address or a cell reference.A cell address or a cell reference.A cell address or a cell reference.A cell address or a cell reference.A cell address or a cell reference.A cell address or a cell reference.


What does a cell address as it applies to Excel 2010 do?

A cell address identifies a particular cell. It can be used in formulas to help in calculations. By using the cell address you can access the value in the cell.A cell address identifies a particular cell. It can be used in formulas to help in calculations. By using the cell address you can access the value in the cell.A cell address identifies a particular cell. It can be used in formulas to help in calculations. By using the cell address you can access the value in the cell.A cell address identifies a particular cell. It can be used in formulas to help in calculations. By using the cell address you can access the value in the cell.A cell address identifies a particular cell. It can be used in formulas to help in calculations. By using the cell address you can access the value in the cell.A cell address identifies a particular cell. It can be used in formulas to help in calculations. By using the cell address you can access the value in the cell.A cell address identifies a particular cell. It can be used in formulas to help in calculations. By using the cell address you can access the value in the cell.A cell address identifies a particular cell. It can be used in formulas to help in calculations. By using the cell address you can access the value in the cell.A cell address identifies a particular cell. It can be used in formulas to help in calculations. By using the cell address you can access the value in the cell.A cell address identifies a particular cell. It can be used in formulas to help in calculations. By using the cell address you can access the value in the cell.A cell address identifies a particular cell. It can be used in formulas to help in calculations. By using the cell address you can access the value in the cell.


What do you mean by cell address?

1. An absolute cell address is a cell address that does not change when you move a formula from one cell to another. You display absolute cell addresses by adding $ to the address:


What is a cell body defined as?

A cell body is defined as a part of a nerve cell which contains the nucleus and the cytoplasm surrounding it, but it lacks all the axons and dendrites.


Biotovoltaic cell array?

Can you explain 'biotovoltaic' please, not a word I know


What is an intersection of column and row?

A cell in a matrix (or 2-dimensional array).


What is the type of cell that has a well-defined nuclei?

A eukaryotic cell does.


How do you find the address of an excel cell?

The address is based on the column and row that the cell is in. So the cell in Column K and Row 5, the cell is K5. When you have a cell selected, you will see the address in the name box.The address is based on the column and row that the cell is in. So the cell in Column K and Row 5, the cell is K5. When you have a cell selected, you will see the address in the name box.The address is based on the column and row that the cell is in. So the cell in Column K and Row 5, the cell is K5. When you have a cell selected, you will see the address in the name box.The address is based on the column and row that the cell is in. So the cell in Column K and Row 5, the cell is K5. When you have a cell selected, you will see the address in the name box.The address is based on the column and row that the cell is in. So the cell in Column K and Row 5, the cell is K5. When you have a cell selected, you will see the address in the name box.The address is based on the column and row that the cell is in. So the cell in Column K and Row 5, the cell is K5. When you have a cell selected, you will see the address in the name box.The address is based on the column and row that the cell is in. So the cell in Column K and Row 5, the cell is K5. When you have a cell selected, you will see the address in the name box.The address is based on the column and row that the cell is in. So the cell in Column K and Row 5, the cell is K5. When you have a cell selected, you will see the address in the name box.The address is based on the column and row that the cell is in. So the cell in Column K and Row 5, the cell is K5. When you have a cell selected, you will see the address in the name box.The address is based on the column and row that the cell is in. So the cell in Column K and Row 5, the cell is K5. When you have a cell selected, you will see the address in the name box.The address is based on the column and row that the cell is in. So the cell in Column K and Row 5, the cell is K5. When you have a cell selected, you will see the address in the name box.


How linear arrays represented in memory?

To implement array data structure, memory bytes must be reserved and the accessing functions must be coded. In case of linear arrays, the declaration statements tell how many cells are needed to store the array. The following characteristics of the array are used to calculate the number of cells needed and to find the location or address of any element of the array.1. The upper bound (UB) of the index range.2. The lower bound (LB) of the index range. In C/C++, LB is zero.3. The location in memory of the first byte in the array, called base address of the array (Base)4. The number of memory bytes needed for each cell containing one data element in the array (size, denoted by W)By cell we mean a unit of memory bytes that will be assigned to hold a value of respective data element.During the compilation of the program, the information about characteristics of the array is stored in a table called DOPE VECTOR. When compiler comes across references to an array element, it uses this information that will calculate the element's location in memory at runtime.


What type of cell is a bacterial cell?

a prokaryote cell (: .... which means it does NOT have a defined nucleus


What is a solar cell?

A solar cell is an electronic device that converts sunlight into electricity. An array of them is called a solar panel.