//
Demonstrating the const type qualifier.
#include
<iostream>
using
namespace std;
void tryToModifyArray( const int []
); // function prototype
int main()
{
int a[] = { 10, 20, 30 };
tryToModifyArray( a );
cout << a[ 0 ]
<< ' ' << a[ 1 ] << ' '
<< a[ 2 ] << '\n';
return 0;
// indicates successful termination
} // end main