You can't do that. If you want the value in b static, make it so within the body of the function.
Code:void func(int b) { static int c = b; printf("%d", c); }
You can't do that. If you want the value in b static, make it so within the body of the function.
Code:void func(int b) { static int c = b; printf("%d", c); }
Last edited by kermit; 12-27-2013 at 10:48 AM.