Hey guys, I'm trying to count the amount of bytes of stack space that the following chunk of code will need. All local variables and temp results have their own location on the stack and their space is allocated at the beginning of the program and will not be reclaimed until the program exits:

Code:
{
   int a;
   int b;
   int c;
   int x;
   a = 5;
   b = a + 3;
   c = a * b / a;
   x = c - (a + a) / (b - c);
}
I know this isn't a complete program, but I'm really curious how to measure the amount of bytes in stack space that this chunk of code will need. Any help is greatly appreciated.