Question 6 of 40

The following declaration:
int i = 0b10;
Answer

Suggested Answer

The suggested answer is C.

Community Votes

No votes yet

Join the discussion to cast yours

Question 7 of 40

The following declaration:
int i = 010;
Answer

Suggested Answer

The suggested answer is D.

Community Votes

No votes yet

Join the discussion to cast yours

Question 8 of 40

Which of the following operators accept integer arguments only? (Choose two.)
Answer

Suggested Answer

The suggested answer is A, C.

Community Votes

No votes yet

Join the discussion to cast yours

Question 9 of 40

Which of the following expressions decrement variable i by 2? (Choose two.)
Answer

Suggested Answer

The suggested answer is B, C.

Community Votes

No votes yet

Join the discussion to cast yours

Question 10 of 40

What happens when you attempt to compile and run the following code?
Exam CPA-21-02: Question 10 - Image 1
Answer

Suggested Answer

The suggested answer is B.

Community Votes

No votes yet

Join the discussion to cast yours