#include <stdio.h>
int main ()
{
int i; /* loop index */
int values [5] = {10, 567, 56, 23, 78};
/* loop and print the contents and address of each array element */
printf("Address\t\tArray Element\tContents\n\n");
for (i=0; i < 5; ++i)
{
printf("%lx \tValues [%i] \t%i \n", &values[i], i, values[i] );
}
return (0);
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbiAoKQp7CgogICAgICBpbnQgaTsgICAvKiBsb29wIGluZGV4ICovCiAgICAgIGludCB2YWx1ZXMgWzVdID0gezEwLCA1NjcsIDU2LCAyMywgNzh9OwoKICAgICAgLyogbG9vcCBhbmQgcHJpbnQgdGhlIGNvbnRlbnRzIGFuZCBhZGRyZXNzIG9mIGVhY2ggYXJyYXkgZWxlbWVudCAqLwoKICAgICAgcHJpbnRmKCJBZGRyZXNzXHRcdEFycmF5IEVsZW1lbnRcdENvbnRlbnRzXG5cbiIpOwogICAgICBmb3IgKGk9MDsgaSA8IDU7ICsraSkKICAgICAgewoKICAgICAgICAgICAgICBwcmludGYoIiVseCBcdFZhbHVlcyBbJWldIFx0JWkgXG4iLCAmdmFsdWVzW2ldLCBpLCB2YWx1ZXNbaV0gKTsKICAgICAgfQoKICAgICAgcmV0dXJuICgwKTsKCn0=