Hello,
I have the following declaration:
So I have a variable 'typeName' and a variable 'name'. The varaibale 'name' stores a string of characters in the following format: Auto_'typeName'_Workflow. The length of 'typeName' is determined at run time and I want to know how to declare the variable 'name' which will hold a name with dynamic lenth in C.Code:char name[name_size + 1] = {'\0'}; sprintf(name, "Auto_%s_Workflow", typeName);
Thank you




Reply With Quote
