Serial loopback, TX to RX not working

Serial reads & writes are bytes, not ints.
Try changing c from int to byte.