Serial Communication

my issue remains the same its not transmitting from one board to other

Please show your evidence for this assertion.

Please understand that you have a very large credibility gap in this thread, starting as it did with an assertion that code that could not possibly even compile, did, according to you, compile.