Wow, this is a classic pointer question! I remember struggling with these in my exam. Good thing I brushed up on my dynamic memory allocation before taking this test.
The correct answer is B) It prints: 1. The code dynamically allocates an array of two integers and initializes them with 0 and 1 respectively. Then it prints the value at index 1, which is 1.
Remedios
4 days agoSerina
8 days agoYolando
17 days agoSharika
21 days agoAdelina
23 days ago