Correct option is C
Logic: The elements at the corner and the center element follow different patterns.
For the element at the center of each box, the number of horizontal and vertical lines increases alternately by 1 and the pattern followed by the elements at the corner is shown below:

So, the correct answer is option (c).














