How to make two arduinos (arduino mini and mega 2560)communicate each other

shivangtrivedi:
Please let me know if I made a mistake.

It's a mistake to try posting your code as an image rather than including it in your text with code tags.