CPA practice question 16 of 30

What happens when you attempt to compile and run the following code? #include using namespace std; int main() { int *t; t = new int[2]; for (int i=0; i

Full set: 220 questions
Answer options
A: It prints: 0
B: It prints: 1 Correct answer
C: It prints: 10
D: It prints: ?1
Correct Answer:
B. It prints: 1
Scroll to Top