Are vectors passed by reference c++?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

Explain the uses of static class data?

0 Answers  


Do you know the use of vtable?

0 Answers  


How java is different from c and c++?

0 Answers  


Explain linear search.

0 Answers  


Write a program using merge () function to combine the elements of array x[ ] and y[ ] into array z[ ].

0 Answers  






How can you quickly find the number of elements stored in a dynamic array?

0 Answers  


Is c++ vector dynamic?

0 Answers  


What are the total number of lines written by you in C/C++? What is the most complicated or valuable program written in C/C++?

2 Answers   Intel,


class Foo { public: Foo(int i) { } }; class Bar : virtual Foo { public: Bar() { } }; Bar b; Referring to the above code, when the object 'b' is defined, a compiler error will occur. What action fixes the compiler error? a) Adding a virtual destructor to the class Bar b) Adding a constructor to Bar which takes an int parameter c) Adding "Foo()" to the Bar constructor d) Adding a copy constructor to the class Foo e) Adding "Foo(0)" to the Bar::Bar initializer list

2 Answers   Quark,


What should main() return in c and c++?

0 Answers  


What is a c++ object?

0 Answers  


How can you create a virtual copy constructor?

0 Answers  


Categories