BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

C++ Institute Exam CPA Topic 6 Question 48 Discussion

Actual exam question for C++ Institute's CPA exam
Question #: 48
Topic #: 6
[All CPA Questions]

Which code, inserted at line 12, generates the output "5b"?

#include

using namespace std;

namespace myNamespace1

{

int var = 5;

}

namespace myNamespace2

{

char var = 'b';

}

int main () {

//insert code here

return 0;

}

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel