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;
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
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;
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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!