/* Assuming the array contains integers: */
int getAt( int Array[], int subscript )
{
return Array[ subscript ];
}
/* getAt() */
NOTE: This is a very dangerous function! The variable subscript could reference to a position outside of the bounds of the array! This function doesn't know the dimensions of the array.