Parentheses are classed as operators by the compiler, although their position is a bit unclear. They have a value in the sense that they assume the value of whatever expression is inside them. Parentheses are used for forcing a priority over operators. If an expression is written out in an ambiguous way, such as: a + b / 4 * 2 it is not clear what is meant by this. It could be interpreted in several ways: ((a + b) / 4) * 2 or (a + b)/ (4 * 2) or a + (b/4) * 2
Learn C++ Programming fast and easy, find C++ Program Codes