title: What techniques can be used to reduce stack memory usage?
body: <p>I am programming for an embedded system, where resources are at premium cost.</p>
  
  <p>A few techniques that I am aware of are - </p>
  
  <ol>
  <li>Remove/Reduce unused variable/memory.</li>
  <li>Use macros for small/inline functions.</li>
  </ol>
  
  <p>Is there anything else that I can use for this? Also, please correct if I am wrong.</p>
  
  <p>Please Note: I am not asking exclusively about low level programming.</p>
  
  <p>Let's say I am bound to use some particular amount of stack memory only. My program doesn't use recursion.</p>