DsAlgo | Questions
1) What is "Stack" in Dsalgo
2) heap in dsalgo
3) malloc in c/c++
4) difference between .exe and .c file
5) big O and Time complexity
Notes:
1.) In Heap we requests dynamic memory using pointers in the form of array and after the use of that dynamic memory that array get removed/erased/released and we can call that array again in heap any time during program execution. We don't use stack as a dynamic memory because that data will remain in stack unless program execution gets get finished and which makes the execution of program slower.
Comments
Post a Comment