thanks for your question. You mention C-Based Stimulus - for a description and example see the CBasedStimulus cookbook page.
However I think what you are really asking for is not stimulus but rather a golden reference model, written in C and instantiated using SV DPI alongside an SV/UVM Scoreboard.
While this is a fairly standard technique and is described well in the SV documentation, regrettably we don't have a full example of that here in the UVM Cookbook. You can find several useful DPI papers on the internet or perhaps someone can recommend a favorite one here.