This is the code:
read(0x00,1);//this is a read function written for the Wire communication protocol which returns the tab variable
Serial.flush();//flushing the Serial
Serial.print("RdReg init process..\nADXL345 address:");
Serial.println(tab[0],BIN);