based on this code, will the null termination byte be assigned to the destination? If yes why?Code:for (i = 0; source[i] != '\0'; i++) destination[i] = source[i];
Secondly, can i just simply use this
instead of the above code?Code:destination = source
and what about?Code:*destination++ = *source++
and what about this?Code:*destination = *source