why are the values stored in heap and pointers in stack ?
Hi chaitanya, it's because the new operator returns the pointer to the heap memory allocated and usually programmers assign this returned pointer to a local, static or global variable. You could also assign it to a pointer in the heap but still you would need a pointer in your local context in order to access it.
Python — File Handling
Loop question, I've tried everything that I knew I just don't know. Please help me solve it out
Help me solve this (using loop)
What is wrong? Error on test.
Help me wiht python