0

What is the output?

#includ <iostream> using namespce std; int main() { int x=8; char y='a'; cout<<(x+=7==!y+x); cout<<x<<y; return 0;

10th Nov 2020, 10:57 PM
Aya Abu Alrub
Aya Abu Alrub - avatar
2 Answers
+ 5
Welcome to SoloLearn! The output is: 88a You can confirm that on SoloLearn's CodePlayground. If you are expecting something else or want to know why, then please clarify. Some tips to take into account when asking a question: https://www.sololearn.com/Blog/38/8-simple-rules-to-get-help-from-the-community
10th Nov 2020, 11:27 PM
Kevin ★
+ 4
U should try yourself in c++ playground
10th Nov 2020, 11:29 PM
Sâùtôsh
Sâùtôsh - avatar