Community
Participate
Working Groups
Created attachment 258257 [details] renaming parameter. Consider a simple fact.c file with following contents: int factorial(int n) { int result = 1; for (i=1 ; i <= n; i++) { result *= i; } return result; } int factorial1(int n); In this example when try to search references of "n" in declaration: "int factorial1(int n);", I get zero matches. Then when I try to rename this "n", the box is placed only around "n" in the declaration(See attachment: renaming1.png ) But on clicking enter the content to above file changes to following: int factorial(int nn) { int result = 1; for (i=1 ; i <= nn; i++) { result *= i; } return result; } int factorial1(int nn); But I don't want rename the variable "n" in function factorial.