Page 10 - C-Language
P. 10

Best Practices                                                                                   157

        Using typedef                                                                                       157


          Example:                                                                                           158

        Taking context pointers.                                                                            158

          Example                                                                                            159

          See also                                                                                           159

            Introduction                                                                                     159

        Usage                                                                                               160

        Syntax                                                                                              160

          Mnemonic for writing function pointers                                                             160

          Basics                                                                                             161


        Chapter 26: Generic selection                                                                       163

          Syntax                                                                                             163

          Parameters                                                                                         163

          Remarks                                                                                            163

          Examples                                                                                           163

            Check whether a variable is of a certain qualified type                                          163

            Type-generic printing macro                                                                      164

            Generic selection based on multiple arguments                                                    164

        Chapter 27: Identifier Scope                                                                        167

          Examples                                                                                           167

            Block Scope                                                                                      167

            Function Prototype Scope                                                                         167

            File Scope                                                                                       168
            Function scope                                                                                   169


        Chapter 28: Implementation-defined behaviour                                                        171

          Remarks                                                                                            171

          Overview                                                                                           171

          Programs and Processors                                                                            171

            General                                                                                          171

            Source translation                                                                               172
   5   6   7   8   9   10   11   12   13   14   15