Because test1 is a non-const global variable (while test2 is a function).
5 Likes
Because test1 is a non-const global variable (while test2 is a function).