can u explain in symbol table what we are storing address or size or both???
Need explanation of symbol table
actually this is precomputaion done by compiler
that how much size, what will be the address of memory
all these things which are required are stored in a table
there are many other things as well which are stored
there is a complete chapter on this in compiler design
you can search it
but all these things are not necessary for this course just remember and understand things explain in video
you have reopen your doubt
any question you want o ask??
feel free to ask
in the current symbol table why we stored address of a as 400 inspite of 0??
we are storing how much total bytes will be given to array
which is 400
in this table
we have 3 variables
int x -> it is integer so takes 4 byte memory
char ch -> it takes 1 byte
int a[[100] -> it takes 4*100=400 bytes
so we allocate first array who takes 400 bytes
then ch takes 401th byte
similarly x takes 402th byte
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.