hi,
during compilation ,
whether the addresses are stored in virtual memory or just symbol table is created and no allocation is done?
thanks
Compile time allocation
@vatsal50 as said in the video using symbol table the variables are stored with address and all at the time of compilation. and just before executing the relation bw virtual and physical mem comes into play
so finally compile time-symbol table , runtime - virtual mem
i hope its cleared if yes dont forget to mark the doubt resolved
so they are stored in virtual memory during compile time
if they are not stored in the virtual memory then what is the use of that address that is stored in symbol table.?
moreover if variables are allocated memory at run time, then what is difference between compile time allocation and run time allocation?
hey the memory is used at the time of runtime .
at the time of compile its just storing it to signify that it exists and the memory is used at time of runtime
@vatsal50 its clear in the video watch it once again , i am telling you all this after watching that video only