Cdim is made of these notes: C (root), Eb (minor third), Gb (diminished fifth).
With this shape the strings sound like this, from the G string to the E string: Eb, C, Gb, C.
A diminished chord is two minor thirds stacked on top of each other. It sounds tense and is usually played only briefly as a passing chord.
Cdim belongs to these major keys: C sharp major (degree VII).