[image of an executed code in keil]
I've written above code to move an array( msg[ ] ) to Port 0(I'm using Keil µvision), in which 'unsigned int y' gets the size of the array and displays it to Port 1(Port-1 output is shown in the image, whereas Port-0 output is not)
Question:
- Why am I getting double the value of the specified array?