Moreover, what kind of punctuations are you even using? There’s weird hyphens instead of minuses, inverted quotes instead of single quotes. Please look into it dude.
No comma is not similar to logical OR comma is just an operator. And it returns rightmost value so there 1st condition is discarded and only 2nd condition’s value is returned.
Like if you write int x=(4,5); then x will have 5.
Similarly int x=(1,2,3,4,5); will show x=5;