**When main() calls b() and b() calls c(), a total of 12 words on the stack are needed.**
To understand why, let's break down the stack usage step by step.
When main() calls b(), it needs to store the values of t0, t1, s0, and s1 on the stack. So, the stack usage at this point is 4 words.
Next, when b() calls c(), it needs to store the values of t4, s3, and s4 on the stack. The stack usage increases to 7 words.
Now, within c(), the values of t1, t2, t3, and s0 also need to be stored on the stack. This adds 4 more words, resulting in a total stack usage of 11 words.
Additionally, c() uses s5, but since it doesn't make any nested function calls, s5 doesn't contribute to the stack usage beyond the initial allocation.
Therefore, the total stack usage when main() calls b() and b() calls c() is 12 words.
Learn more about stack here:
https://brainly.com/question/32295222
#SPJ11