check ssq in c