I am having a basic question..How do (Right to left or left to right) compiler process the assignment statement in C
Ex: int i = 5
I feel compiler will create memory for storing variable if type ' int ' of name 'a' and assign 5 to it. That is it from left to right.
Is my understanding is correct or not ?
2. How about the following case
char *p = "aabbcc"
char *q = "aabbcc"
I heard in the second case compiler will search for "aabbcc" string and assign pointer to that one. so in this case both will point to the one constant string named '"aabbcc"
Is my understanding is correct?