Though in the latest solidity compiler versions, it has been made clear that for reference variables local to a function, one needs to now explicitly mention its location modifier (memory, storage), thereby removing the whole confusion about its default nature.
But it is still unclear where are all the local variables defined as uint, uint8, bool, address, enum etc. of a function stored ? is it stored in storage, memory or stack ?