0
What the process going on to printing the value 1 . Not(not x or not y and x or not y)
bool x= false; bool y=true; bool c =!(! x || !y && x || !y); cout<<c;
1 ответ
+ 1
Your code will give Output false (0)
bool x= false;
bool y=true;
Here !x means true and !y means false
bool c =!(! x || !y && x || !y);
bool c=!(true||false&&false||false)
bool c=!(true||false ||false)
c= true||false ||false
this will give result but there is not before bracket so true will be false
cout<<c;