Become C++ Institute Certified with updated CPA-21-02 exam questions and correct answers
What happens when you attempt to compile and run the following code? #include using namespace std; int op(int x, int y); int main() { float *pf; float f=0.9; pf=&f; cout
What happens when you attempt to compile and run the following code? #include using namespace std; int main() { const int x=0; const int *ptr; ptr = &x; cout
What will be the output of the program? #include using namespace std; int fun(int); int main() { cout
What happens when you attempt to compile and run the following code? #include #include using namespace std; class A { protected: int y; public: int x, z; A() : x(1), y(2), z(0) {} A(int a, int b) : x(a), y(b) { z = x * y;} void Print() { cout
Which code, inserted at line 8, generates the output "100"? #include using namespace std; int fun(int); int main() { int *x = new int; *x=10; //insert code here return 0; } int fun(int i) { return i*i; }
© Copyrights DumpsCertify 2026. All Rights Reserved
We use cookies to ensure your best experience. So we hope you are happy to receive all cookies on the DumpsCertify.