CPA – C++ Certified Associate Programmer

Here you have the best C++ Institute CPA-21-02 practice exam questions

  • You have 40 total questions to study from
  • Each page has 5 questions, making a total of 8 pages
  • You can navigate through the pages using the buttons at the bottom
  • This questions were last updated on November 16, 2025
  • This site is not affiliated with or endorsed by C++ Institute.
Question 1 of 40
What happens when you attempt to compile and run the following code?
Exam CPA-21-02: Question 1 - Image 1
    Correct Answer: D

Question 2 of 40
What happens when you attempt to compile and run the following code?
Exam CPA-21-02: Question 2 - Image 1
    Correct Answer: A

Question 3 of 40
What happens when you attempt to compile and run the following code?
Exam CPA-21-02: Question 3 - Image 1
    Correct Answer: B

Question 4 of 40
What happens when you attempt to compile and run the following code?
Exam CPA-21-02: Question 4 - Image 1
    Correct Answer: D

Question 5 of 40
What is the expected result of the following program?
Exam CPA-21-02: Question 5 - Image 1
    Correct Answer: B