Questions for the CPA-21-02 were updated on : Nov 21 ,2025
How many copies of the value member are stored in memory during program execution?
D
Which of the following statements are true? (Choose two.)
C, D
Which code line inserted instead of the comment below will cause the program to produce the
expected output?
C
What happens when you attempt to compile and run the following code?
D
Which code line inserted instead of the comment below will cause the program to produce the
expected output?
A
What happens when you attempt to compile and run the following code?
D
Which line of code inserted instead of the comment will make the following code run properly
without causing memory leaks?
D
What happens when you attempt to compile and run the following code?
C
What happens when you attempt to compile and run the following code?
D
What happens when you attempt to compile and run the following code?
D
What is the meaning of the following declaration? (Choose two.)
char **ptr;
A, B
What happens when you attempt to compile and run the following code?
D
What is the expected output of the following program?
B
Which code line inserted instead of the comment below will fix the program so that it produces the
expected output and does not cause any memory leak?
A
What happens when you attempt to compile and run the following code?
D