Become C++ Institute Certified with updated CPA-21-02 exam questions and correct answers
What will the variable "age" be in class B? class A { int x; protected: int y; public: int age; A () { age=5; }; }; class B : public A { string name; public: B () { name="Bob"; }; void Print() { cout
Which of the following expressions decrement variable i by 2? (Choose two.)
Which statement should be added in the following program to make work it correctly? using namespace std; int main (int argc, const char * argv[]) { cout
What happens when you attempt to compile and run the following code? #include using namespace std; int main() { int i, j; for(i = 0; i < 2; i++) { for(j = i; j < i + 1; j++) if(j == i) continue; else break; } cout
What happens when you attempt to compile and run the following code? #include #include using namespace std; int main() { string s1[]= {"How" , "to" }; s1[0].swap(s1[1]); for (int i=0; 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.