Exam Code : CPP-CPA
Exam Name : CPP - C++ Certified Professional Programmer
Vendor Name :
"CPP-Institute"
CPP-CPA Dumps CPP-CPA Braindumps
CPP-CPA Real Questions CPP-CPA Practice Test CPP-CPA Actual Questions
killexams.com CPP-Institute CPP-CPA
CPP - C++ Certified Professional Programmer
https://killexams.com/pass4sure/exam-detail/CPP-CPA
Question: 180
What will happen when you attempt to compile and run the code below, assuming that you enter the following sequence: one two three<enter>?
Program will output:
one
one two three
runtime exception
compilation error
the result is unspecified
Answer: A
Question: 181
What will happen when you attempt to compile and run the following code?
The output will be:
2 2
1 2
1 3
2
0 2
Answer: A
Question: 182
What happens when you attempt to compile and run the following code?
Program outputs:
A. compilation error B. 1 2 3 4 5 6 8 0 0 0
C. 1 2 3 4 5 6 8 2 1 0
D. 5 2 1 0 0 0 0 0 0 0
E. 1 2 5 0 0 0 0 0 0 0
Answer: D
Question: 183
What happens when you attempt to compile and run the following code?
program displays 5 4 3 2 1
program displays 1 2 3 4 5
compilation error
segmentation fault runtime exception
Answer: C
Question: 184
What happens when you attempt to compile and run the following code?
Program outputs:
A. 1 2 345 6 10 8 7 9
B. 3 2 4 1 5 6 7 8 9 10
C. 3 2 4 1 5 6 10 8 7 9
D. 1 2 3 4 5 6 7 8 9 10
compilation error
Answer: E
Question: 185
Question: 186
What happens when you attempt to compile and run the following code?
Program outputs:
A. 1 5 9 6 2 4 7 8 3 1
B. compilation error C. 1 2 3 4 5 6 7 8 9 10
D. 10 9 8 7 6 5 4 3 2 1
E. 10 5 9 6 2 4 7 8 3 1
Answer: A
Question: 187
What happens when you attempt to compile and run the following code?
Program outputs:
3
1
6
10
compilation error
Answer: D
Question: 188
What happens when you attempt to compile and run the following code?
program outputs: 6 6
program outputs: 5 7
program outputs: 5 5 6 6 7 7
program outputs: 5 5 7 7
program outputs: 1 16 6 5 5
Answer: A
Question: 189
What happens when you attempt to compile and run the following code?
Program outputs:
A. 1 2 3 4 5 6 7 8 9 10
B. 10 9 8 7 6 5 4 3 2 1
C. 9 8 7 6 5 4 3 2 1 10
D. 1 10 9 8 7 6 5 4 3 2
Answer: C
Question: 190
What happens when you attempt to compile and run the following code?
file test.out will be opened writing
file test.out will be truncated
file test.out will be opened for reading
compilation error
program will display sequence 1 2 3 4 5 6 7 8 9 10
Answer: D