![]() |
constructor, destructor |
Previous | Specifying Attributes of Functions | Next |
The constructor
attribute causes the function to be called
automatically before execution enters _main. Similarly, the
destructor
attribute causes the function to be called
automatically after _main has completed or exit has
been called. Functions with these attributes are useful for
initializing data that will be used implicitly during the execution of
the program.