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;
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
+ 4
U should try yourself in c++ playground