What is the time complexity of passing a Vector of size n to another function by passing by value and passing by reference?

前端 未结 0 1479
旧时难觅i
旧时难觅i 2021-01-12 02:15
void fun(vectorvec)
{
   some code
}
int main()
{
   int n = 5;
   vectoravec(n);
   fun(avec);
}

What is the time com

相关标签:
回答
  • 消灭零回复
提交回复
热议问题