saravananm92:
I have connected a pullup resistor of 10KOhm from pin7 to VCC.
I am using the library written by alvarojustenhttp://forum.arduino.cc/index.php/topic,59256.0.html.
That RTC library is very basic. I recommend this library as it's served me well over the years and has built in SQW commands.