Yes, you are right about it. Its catenation.
Catenation is the self linking property of an element by which an atom combines with the other atoms of the same element to form long chains and cyclic structures. C is the best example of this phenomenon.