Difference between "or" and "||"

c++

Solution

Aside from the stylistic sense that makes a lot of seasoned programmers think "Huh, has someone suddenly started writing Pascal?", there is no functional difference.

The purpose of these alternative names is to allow people living in, say, Sweden or Germany, to use a standard Local variant of ASCII, where `|` is `ö`.

Since the introduction of Unicode and extended ASCII, this need has pretty much disappeared, since nationalized character sets don't have to "steal" less commonly used characters to produce their national "special" characters.

Problem

Is there any difference between ``` if ( a or b or c ) { ``` ...and... ``` if ( a || b || c ) { ``` ...and more in general between the two operators, even in terms of precedence ?

Original source