|
|
|
|
|
by green7ea
3224 days ago
|
|
There is nothing wrong with the syntax itself. Its simply that it's usually preferable to allocate variables on the stack. To do this, you would do: int var_a = 5; and use &var_a when you want to acess that variable as a pointer within that scope. Not only is this more efficient, it is much easier to read. |
|