What happens when you attempt to compile and run the following code?#include <iostream>using namespace std;int main(){int x=2, *y;y = &x;cout << *y + x;return 0;}
Answer(s): C
What happens when you attempt to compile and run the following code?#include <iostream>using namespace std;int main(){int *i;i = new int;*i = 1.0 / 2 * 2 / 1 * 2 / 4 * 4;cout << *i;return 0;}
Which of the following statements are correct about an array? int tab[10];
Answer(s): A,C
Which of the following is a logical operator?
Answer(s): B,C,D
Post your Comments and Discuss C++ Institute CPA-21-02 exam with other Community members:
Subash Commented on December 10, 2024 I am planning to take this exam. Are these 257 questions enough to clear it? Also, does each section have a passing percentage, or is it based on the overall ? INDIA
To protect our content from bots for real learners like you, we ask you to register for free. Sign in or sign up now to continue with the CPA-21-02 material!