+ 1
Why Am I Not Getting Errors?
I am trying to compare 3 values that are same. if(a==b==c) { cout<<"what is happening :(" } And I am not taking any errors. Program is saying that "No Output".
7 ответов
+ 7
Because
(a==b)==c
Or:
true==c / false==c
is what's tested.
It's false either way, so No Output
+ 7
He marked a best answer showing he got what he wants
+ 6
It doesn't!
Let's assume he corrects his syntax and declares a b c
+ 1
Nevermind $Vengat. I like to take my answer from someone that can understand what I want.