That "int" on line 3 can be left out (it's optional in C) but doing so is often considered to be bad practice.
Type: Posts; User: grumpy
That "int" on line 3 can be left out (it's optional in C) but doing so is often considered to be bad practice.
My guess is that your "trouble" concerns the variable a inside print_info(). You will find that &a inside print_info() will have a different address from b (since a is passed by value, it becomes...