What is the limitation of cin while taking input for character array?
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between a copy constructor and an overloaded assignment operator?
4 Answers Belzabar, Citrix, Microsoft, Wipro,
Differentiate between a template class and class template?
What are namespaces in c++?
1. What does the following do: void afunction(int *x) { x=new int; *x=12; } int main() { int v=10; afunction(&v); cout<<v; } a) Outputs 12 b) Outputs 10 c) Outputs the address of v
Explain binary search.
Write a program to show polymorphism in C++?
How does a C++ structure differ from a C++ class?
class Foo { const int x; protected: Foo(int f); ~Foo(); }; Foo f; Referring to the sample code above, why will the class declaration not compile? a) The variable x is const. b) The destructor is protected. c) The destructor is not public. d) The constructor is protected. e) There is no default constructor.
When is a template a better solution than a base class?
What is an inline function in c++?
What function initalizes variables in a class: a) Destructor b) Constitutor c) Constructor
What is the use of "new" operator?