Runtime c expression ?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson

Runtime c expression ??

How to get a c expression from user on runtime and evaluate them in runtime and produce this possible on c

8th Dec 2019, 2:41 AM
U Hariharan
U Hariharan - avatar
2 Answers
If you meant something like the `eval` function in some other languages, I guess it's not possible, except you have your own C language processor. But I could be wrong.
8th Dec 2019, 7:33 AM
you can use command line arguments for that, am not sure thats possible in C though, C ain't that nice and friendly
8th Dec 2019, 7:34 AM
✳AsterisK✳ - avatar