Page 14 - C-Language
P. 14

Making linearly linked list                                                                        212
          Insertion                                                                                          212


          Examples                                                                                           213

            Inserting a node at the beginning of a singly linked list                                        213

          Explanation for the Insertion of Nodes                                                             214
            Inserting a node at the nth position                                                             214

            Reversing a linked list                                                                          216

          Explanation for the Reverse List Method                                                            217

            A doubly linked list                                                                             218

        Chapter 37: Literals for numbers, characters and strings                                            221


          Remarks                                                                                            221

          Examples                                                                                           221

            Integer literals                                                                                 221
            String literals                                                                                  222

            Floating point literals                                                                          222

            Character literals                                                                               223

        Chapter 38: Memory management                                                                       225

          Introduction                                                                                       225

          Syntax                                                                                             225

          Parameters                                                                                         225


          Remarks                                                                                            225

          Examples                                                                                           225

            Freeing Memory                                                                                   226
            Allocating Memory                                                                                227

          Standard Allocation                                                                                227

          Zeroed Memory                                                                                      228


          Aligned Memory                                                                                     228
            Reallocating Memory                                                                              229

            Multidimensional arrays of variable size                                                         230

            realloc(ptr, 0) is not equivalent to free(ptr)                                                   231

            User-defined memory management                                                                   231

            alloca: allocate memory on stack                                                                 233
   9   10   11   12   13   14   15   16   17   18   19