How would you direct C to put data in a stack versus on a heap?
Anonymous
TDLR: Stack is declaring variables normally in a function, heap is used via malloc and other dynamically allocated functions and structures.
Check out your Company Bowl for anonymous work chats.