void test() { float a 1,2,4 }; float *p; std: :cout << a[1] << “n”; // A р3 а; std: : cout << *p << “n”; // B a+1 р std: :cout << p[1] << “n”; // C a+2 р std: :cout << p[1] << “n”; // D For each of the std: :cout statements (A,B,C,D) above, indicated the values printed. If there is a problem with any of the std: :cout statements that leads to errors or unpredictable output then indicate that. Show transcribed image text void test() { float a 1,2,4 }; float *p; std: :cout
Expert Answer
Answer to void test() { float a 1,2,4 }; float *p; std: :cout …