Your last line is wrong. You make one string, with all of the conversion specifiers in it, and follow it with all the conversion variables.
printf( "( %d )\n", symbolTable[i]->idcount );You should...