answersLogoWhite

0


Best Answer

void *array[2];

printf ("array[%d]=%p\n", i, array[i]);

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How to display the content of memory address stored in an element of an array?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the memory address of some element if the base address is x and each element of the array takes e memory locations?

The memory address of some element if the base address is x, each element of the array takes e memory locations, and the index based zero of the element is i, is x + ie.


Which formula you will use to calculate The memory address of fifth element of an array?

a


What number system is used to display a memory address?

it is decimal unsigned number system...


Which type of memory is used for cache memory?

Usually high speed SRAM with CAM (content addressable memory) line address tags.


What is the functional of a bus?

The bits of address bus inform the memory(Ram) which particular element is to be read or write in memory.


An algorithm of deleting linked list?

To delete a linked list walk through the list and delete the memory allocated to each element, remembering the next element address, and then iterating or recursing the process using the next element address, until the next element address is null.


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 is STA in 8085?

STA is used to store the content of the accumulator in to the specified memory address. for example STA 4200. it stores the content of accumulator at 4200.


A memory address is often displayed in segmentoffset format for example C8005 What number system is used to display this number?

hex


What is offset address?

An offset address is a relative address rather than an absolute address. You use offsets to refer to memory relative to an absolute address. For instance, array indices are implemented using offsets from the start address of the array, such that element 0 is at offset 0 and element 5 is at offset 5.


What is memory data register?

The MAR is a special register in the sense that each time it is accessed from the outside, memory senses it and considers the new content of the MAR an address.


What is pointers in c?

a pointer is a variable .it specify the address of the particular variable ,the & symbol is to specify the address of the variable.