C should be answer
if a graph has more than $\frac{(n−1)(n−2)}{2}$ then it is connected.
A simple undirected graph with n vertices can have at most $\frac{n.(n−1)}{2}$edges.
Now disconnect the graph by disconnected one of its vertices(means remove all the edges that are incident on the nth vertex).
The maximum number of edges between the remaining n−1 vertices can be $\frac{(n−1)(n−2)}{2}$
Now if u add 1 more edge to the graph it will again connect the nth vertex.