Yes. Host A and B have the same destination port numbers and thus, their UDP segments will arrive to the socket at host C. In this case, the UDP sockets are represented by the protocol IP and Port. Host C will be able to differentiate between them by doing a check on the source IP and source port from the UDP header.