Bjarne Stroustrup asks in C++ Programming Language 3rd edition exercise 5.9 1. to declare a refrence to an array of 10 integers. Is this possible. I know you can declare pointer to an array but a refrence?
Code:int inumbers[10]; int *pinumbers = inumbers; //pointer to array int &rinumbers= inumbers[0];// refrence to first element; int &rinumber=inumbers;// compiler error