• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 5. Operators > The Grouping Operator

5.9. The Grouping Operator

Aside from being used in function calls, parentheses—( )—can also be used to group a phrase of code to override the precedence of various operators. (They also enhance legibility, even if they are not required to override the default precedence.) Parentheses are also required in some statements, most notably if statements. Parentheses take the general form:

(expression)


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint