I have about 100 print statements in a file like this:
printf("%f \n\n",row1.req_pnttime);
I want to copy the variable name inside the string so that it becomes like this
printf("row1.req_pnttime: %f \n\n",row1.req_pnttime);
Can anyone help me do this?
PS-The length of the variable name is different for every print statement so I need a generic way to do this.