What is difference between array and vector in c++?


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

Post New Answer

More C++ General Interview Questions

Explain this pointer?

0 Answers  


Write a C++ program which will compute the volume of a sphere or a cylinder after prompting the user to type the first character for the shape name.

0 Answers   An-Najah National University,


How size of a class can be calulated?

2 Answers  


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 is the difference between the parameter to a template and the parameter to a function?

0 Answers  






What is a 'pure' virtual function and what's its use?

1 Answers  


How do you differentiate between overloading the prefix and postfix increments?

0 Answers  


What are the five basic elements of a c++ program?

0 Answers  


what is data encapsulation in C++?

0 Answers  


What is the output of printf("%d")?

58 Answers   CTS, HCL, Infosys, TCS, Winit, Wipro,


How const functions will be treated by compiler?

3 Answers   Symphony,


What is operator overloading in c++ example?

0 Answers  


Categories