China Naming Network - Ziwei Dou Shu - In C language, is it possible to input named variables from the keyboard?
In C language, is it possible to input named variables from the keyboard?
Both C and C++ are compiled languages.
At execution time, the concept of variable name no longer exists.
Just a physical address.
So it is impossible to define new variables at runtime.
Of course, you can write a program, define variables, define functions, and run them through specified inputs, but this is only a simulation effect, not a real increase in variables.