Technically, C does not use the stack. If you look at the C99 standard , you will not find a link to the stack. This is probably the same for the C ++ standard, although I have not tested it.
Stacks are simply implementation details used by most compilers to implement C automatic storage semantics.
source
share