This is the temporary stack
stack < int > tmpStack = sortedMerge ( s1 , s2 ) ; cout << " Sorted ▁ and ▁ merged ▁ stack ▁ : STRNEWLINE " ; while ( ! tmpStack . empty ( ) ) { cout << tmpStack . top ( ) << " ▁ " ; tmpStack . pop ( ) ; } }