Pre-Summer Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

Note! Following CPA Exam is Retired now. Please select the alternative replacement for your Exam Certification. The new exam code is CPA-21-02
Last Week Results
32 Customers Passed C++ Institute
CPA Exam
Average Score In Real Exam
86.7%
Questions came word for word from this dump
88.6%
C++ Institute Bundle Exams
C++ Institute Bundle Exams
 Duration: 3 to 12 Months
 3 Certifications
  7 Exams
 C++ Institute Updated Exams
 Most authenticate information
 Prepare within Days
 Time-Saving Study Content
 90 to 365 days Free Update
$291.2*
Free CPA Exam Dumps

Verified By IT Certified Experts

CertsTopics.com Certified Safe Files

Up-To-Date Exam Study Material

99.5% High Success Pass Rate

100% Accurate Answers

Instant Downloads

Exam Questions And Answers PDF

Try Demo Before You Buy

Certification Exams with Helpful Questions And Answers

C++ Certified Associate Programmer Questions and Answers

Question 1

What happens if you try to compile and run this program?

#include

using namespace std;

int main (int argc, const char * argv[])

{

print("Test");

return 0;

}

void print(int c[])

{

cout<<c;

}

Options:

A.

It prints: Test

B.

Compilation fails

C.

Program terminates abnormally

D.

None of these

Buy Now
Question 2

What happens when you attempt to compile and run the following code?

#include

using namespace std;

int main()

{

long int x,y=10;

double d;

d = 3.99;

x=(int) d;

cout << x <<", ";

d=float (y);

cout << d;

return 0;

}

Options:

A.

It prints: 3, 10

B.

It prints: 3.99, 10

C.

It prints: 4, 10.0

D.

It prints: 4, 10

Question 3

What happens when you attempt to compile and run the following code?

#include

#include

using namespace std;

class A {

public:

A() { cout << "A no parameters";}

A(string s) { cout << "A string parameter";}

A(A &a) { cout << "A object A parameter";}

};

class B : public A {

public:

B() { cout << "B no parameters";}

B(string s) { cout << "B string parameter";}

};

int main () {

A a2("Test");

B b1("Alan");

B b2(b1);

return 0;

}

Options:

A.

It prints: A no parametersA no parametersB string parameter

B.

It prints: A string parameterA no parametersB string parameterA object A parameter

C.

It prints: A no parametersB string parameter

D.

It prints: A no parametersA no parameters