Need an c example on how to use show-template* as well filter |show

could some one give a good example that explains show-template* as well |show in c language to better understand the flow on how to implement show commands better ??

For show-template it is not relevant if it is in C or other language. Detailed example for show-template can be found in
examples cli/climods/jdemo.yang (available with ConfD premium).