//Declare a pointer variable named cat that can point to a variable of type double.
double* cat;
//Declare mouse to be a 5-element array of doubles.
double mouse[5];
//Make the cat variable point to the last element of mouse.
cat = mouse+4;
//Make the double pointed to by cat equal to 42, using the * operator.
*cat =42;
//Without using the cat pointer, and without using square brackets, set the fourth element (i.e., the one at position 3) of the mouse array to have the value 25.
*(mouse+3)=25;
//Move the cat pointer back by three doubles.
*cat -=3.0;
//Using square brackets, but without using the name mouse, set the third element (i.e., the one at position 2) of the mouse array to have the value 17.
cat[1]=17;
//Without using the * operator, but using square brackets, set the double pointed to by cat to have the value 54.
cat[0]=54;
//Using the * operator in the initialization expression, declare a bool variable named b and initialize it to true if the double pointed to by cat is equal to the double immediately following the double pointed to by cat, and false otherwise.
bool b =*cat ==*(cat+1);
//Using the == operator in the initialization expression, declare a bool variable named d and initialize it to true if cat points to the double at the start of the mouse array, and false otherwise.