The function takes pointers as arguments, and you pass the address of each variable to the function.
Note: this means your scanf call variables will also change, because you will be receiving...
Type: Posts; User: rags_to_riches
The function takes pointers as arguments, and you pass the address of each variable to the function.
Note: this means your scanf call variables will also change, because you will be receiving...
It's pass-by-value vs. pass-by-pointer.
Here's a debugging session with comments
gdb) b 30
Breakpoint 1 at 0x100000e36: file limits.c, line 30.
(gdb) run
Starting program: limits