Some relations between rank of a graph and its complement