When we write code, after compilation the code will be converted to machine language and then stored in the hard disk. But before compiling the code, it is still in the high-level language. How and where is the memory allocated for the source code before compilation?
I assume that before compiling the code is stored in RAM. How is the code stored in RAM? Because I think we can store only machine language in RAM.
If there is any wrong with my question or it is a wrong way of asking, please comment below. It will be helpful.