Solved

Which String Is Output by the Last Line of the Following

Question 7

Multiple Choice

Which string is output by the last line of the following instruction set?
My_stack.push("Last to arrive ") ;
My_stack.push("first to leave ") ;
My_stack.pop() ;
Cout << my_stack.top() << endl;


A) Last to arrive
B) Last to arrive first to leave
C) first to leave Last to arrive
D) first to leave

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions