Q232
What will be the output of the following C++ code? #include #include using namespace std; int main(int argc, char const *argv[]) string str; cin>>str; cout<<str; return 0;
A.
str
B.
Input provided by the user
AnswerC.
Error
D.
Segmentation fault
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board