C: Creating a given number of variables automatically -


is possible create c-function creates automatically given number of variables? how variables named?

the solution use array. example:

//n number of variables  int *var;  var=  malloc(sizeof(int) * n);  variables named var[0], var[1]....var[n-1] 

Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -