Q. Consider the following statements :
S1 : While program in execution, access to heap memory is slower as compared to accessing variables allocated on stack.
S2 : While program in execution, in a multithread situation, each thread has its own stack and share a common heap memory.
S3 : During a program execution, heap is stored in main memory and stack is present in secondary memory.
Which of the above is incorrect ?