0

I was going through a pre written program where I find sprintf command.

if(IFROOT){
str1="bicoted; diameter(d):;
str2=dyn_sprint(", distance=" GFORM, diskratio);
}

here, str1 and str2 are initialized as strings, GFORM is defined as "%.10g" and diskratio is a variable. IFROOT is a flag

please help me to understand how str2=dyn_sprint(", distance=" GFORM, diskratio) is working

0 Answers0