Cdim is made of these notes: C (root), Eb (minor third), Gb (diminished fifth).
With this shape the strings sound like this, from the D string to the D string: Gb, C, Eb, Gb.
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).