1. What is the correct way to declare a function in C++?
2. What does `std::vector v;` declare?
3. True or False: Pointers can store memory addresses.
4. What is the output of `int x = 5; int* p = &x; cout << *p;`?
5. How do you access the first element of `std::vector v = {1, 2, 3};`?
6. What is the purpose of `const` in `void func(const int x)`?
7. What does `v.push_back(4);` do for a vector?
8. True or False: Arrays in C++ are always passed by reference.
9. What is the output of `int arr[3] = {1, 2, 3}; cout << arr[3];`?
10. What does `&` mean in `int& ref = x;`?