#include &lt;iostream&gt;    using namespace std;    int main&#40; &#41;    &#123;        char line&#91;100&#93;;        cin.getline&#40; line, 100, 't' &#41;;        cout &lt;&lt; line;        return 0;    &#125;
A. 100
B. t
C. It will print what we enter till character t is encountered in the input data
D. None of the mentioned
Answer:A
#include &lt;iostream&gt;    using namespace std;    int main&#40; &#41;    &#123;        char line&#91;100&#93;;        cin.getline&#40; line, 100, 't' &#41;;        cout &lt;&lt; line;        return 0;    &#125;
A. 100 B. t C. It will print what we enter till character t is encountered in the input data D. None of the mentioned
Explanation:The program will store all strings entered and will print them only when the character ‘t’ is encountered.