Hi Sandip,
Welcome to the forum! I don't see anything specific to the code that might be an issue, although I do see two methods for reading and writing so I'm assuming that you have some test code as I don't see the main loop.
One thing to make sure of is that the device you are using has the same address configuration as your code. Also, the best method I know for troubleshooting these types of problems is with an oscilloscope or logic analyzer on the SCL and SDA lines. Can you send me some shots of the communication and your schematic?
Best regards,
Bob B