Page 1 of 1

What will be the values of x, y, and b after the following code executes? int x = 20; inta; int b=5; a = &x; int y = *a;

Posted: Sat May 14, 2022 7:56 pm
by answerhappygod
What Will Be The Values Of X Y And B After The Following Code Executes Int X 20 Inta Int B 5 A X Int Y A 1
What Will Be The Values Of X Y And B After The Following Code Executes Int X 20 Inta Int B 5 A X Int Y A 1 (31.72 KiB) Viewed 26 times
What will be the values of x, y, and b after the following code executes? int x = 20; inta; int b=5; a = &x; int y = *a; b = y* 2; O a, 20, 25, and 10 Ob 20, 25, and 50 O c. 20, 20, and 40 O d. 20, undefined, and 10 O e. None of the above.