This works fine..where is 10 going??..how the compiler handles this??
The same as it would any other useless code, such as:
In the case of calling a function with a parameter, the value is still passed -- just like it would be if the value were being used.
Reputation Points: 2780
Solved Threads: 312
long time no c
Offline 4,790 posts
since Apr 2004