To avoid bugs is it necessary to erase the stack?
<p>What do you need to do to clean up an int or char (not a pointer)? </p>

<p>Is it necessary to clean up this type of data after use?</p>

<p>sample ex:</p>

<pre><code>      // MAX = 100 ;
      class Simple {
              int a[ MAX ] ;
              public :
                  ~Simple ( ) ;
                  ... // some declaration to fill, initialize ...
      };
</code></pre>

<p>Is it essential to clean up data on the stack, e.g. the array <code>a[ MAX ]</code> in the example?</p>
