CPA practice question 11 of 30

What happens when you attempt to compile and run the following code? #include using namespace std; int main() { int *a= new int; *a=100; cout

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