When we declare any variable, particularly in C/C++, it is allocated in computer’s memory according to its data-type (and machine also). The question I have is, when we run the program in online IDEs, does memory of my PC/machine get used?
This question is meant more for the matter of dynamically allocating memory in C, because, for whatever reason, if we misuse the pointer in arguments of function like malloc(), calloc(), especially free(), it is possible that computer memory gets damaged to some extent (Memory Leakage).
Therefore, if online compilation do not use the computer memory, then I can probably use these functions on an online IDE, but I don't know what the case is. Is it safe?
Since everything runs on the remote machine, your local PC will not be affected by anything happening over there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With