Page 1 of 1

What is output by the following code? int a[] = { 1, 2, 3, 4, 5, 6 }; std::cout << (a+1)[3] << std::endl; Select one: 5

Posted: Mon May 02, 2022 12:08 pm
by answerhappygod
What Is Output By The Following Code Int A 1 2 3 4 5 6 Std Cout A 1 3 Std Endl Select One 5 1
What Is Output By The Following Code Int A 1 2 3 4 5 6 Std Cout A 1 3 Std Endl Select One 5 1 (8.35 KiB) Viewed 24 times
What is output by the following code? int a[] = { 1, 2, 3, 4, 5, 6 }; std::cout << (a+1)[3] << std::endl; Select one: 5 4 O 6 O 3