Answer:
#include <bits/stdc++.h>
using namespace std;
int main() {
string ms;
getline(cin,ms);
stack<char>st;
for(int i=0;i<ms.length();i++)//Inserting every element in the stack..
{
st.push(ms[i]);
}
while(!st.empty()) //doing operation until the stack is not empty..
{
char a=st.top();//accessing the top element of the stack...
st.pop();//removing the head.
cout<<a;//printing the character..
}
return 0;
}
Input:-
murder
Ouput:-
redrum
Explanation:
An easy way to reverse anything is to use stack.Since stack is LIFO type data structure so the last item in will be the first one to get out hence it reverses the elements.So inserting every element of the string into the stack of characters and then printing the every element of the stack from top to bottom.
The correct option that was used for audio pass-through is;
<u><em>Option B; HDMI Out</em></u>
<u><em /></u>
We are told that the technician attached an HDMI cable from the video card to connect it to the television.
Now, HDMI means High Definition Multimedia Interface and it has two parts which are HDMI In and HDMI Out.
HDMI Out is used to feed the audio pass through and visual signals,
whereas HDMI In is used to receive these audio pass through and visual
signals.
Looking at the given options, the only correct answer is HDMI Out.
Read more at; brainly.com/question/24637033
A endpoints is the correct t answer