Update sendRcvChar.c

Removed shmalloc