I'm looking for a way to evaluate arithmetic operation using variable instead of operators. Here is an example:
char op1 = '+';
char op2 = '/';
int i = 0;
i = 4 op1 5 op2 3;
I've no idea if its possible in C. But, if its possible.. would be great. Thanks..