Here's what rhymes with ungetc.
Words that almost rhyme with ungetc
check neck deck desk sec wreck cheque tech msec nec peck shek beck dec haec heck rec whelk lech spec speck trek exec fleck kopeck grotesque burlesque recheck bedeck hatcheck yarmelke arabesque statuesque bottleneck turtleneck discotheque spellcheck quarterdeck