The coordination number of a square close-packed structure in two dimensions is -

1. 2

2. 3

3. 4

4. 6