I am confused by how a function can change a variable passed through it. For example, if I created a variable t = 1, and pass a function by adding 2 to it, insi
void fun(vector<int>vec) { some code } int main() { int n = 5; vector<int>avec(n); fun(avec); } What is the time complexity of passing