@Arjun sir in this case no of component will decrease to 9 .

Here two possibilities are possible:-

1) we can use one component consist of 7 vertices which can have 16 edges. rest 8 vertices contribute to 8 connected component . So we end up with 9 component .

2) We can use one component of 6 vertices which will give 15 edges. We left with 1 more edges for which we need 2 vertices. So for 16 edges we end up with two component one of with 6 vertices and another with 2 vertices . Rest 7 vertices contribute 7 connected component . So here also we end up with 2+7=9 component at max .