我有一个非常简单的问题。
在这一法典中,将何时削减N值?
#include<stdio.h>
void func(int n)
{
//text//
}
int main()
{
int n=10;
func(n--);
return 0;
}
now when func() is called is the value of n decremented when control comes back to main() or is it decremented at that time only but n=10 is passed to func(). Please explain, also if there is a way to check the value then that will be really helpful.