In Turbo C, local variables are allocated on the stack. Calling printf with format specifiers but omitting variables causes it to retrieve the values directly from the stack locations where variables i and j reside, printing 400 300 rather than throwing an error.