Say that I am comparing an int and a short int. According to the second edition of "The C Programming Language" written on page 173 the short int will be converted into an int, which is 4 bytes instead of the short integers 2 bytes on my system.
My question is: How will this be done on memory level? Will the short integer get 2 bytes added to it or will the data be copied to a completely different memory location?
I just edited from comparing double and int to short and int. Apologize for inconvenience.