I believe the question you are trying to ask is can we pass a default vector to a function? The answer is no. You cannot pass a default vector because it doesn't make sense to create a blank vector with no data. You can just pass a blank vector. Or you can create the vector inside the body of the function.