STL (140)
OOPS (873)
C++ General (2409) You have to take 2 arrays of length 10. Input the values of array 1 from the user. Then copy the values of array 1 to array 2 in ascending order For example if user enters 9, 5, 6, 8, 1, 0, 2, 7, 4, 3 then copy the smallest element i.e. 0 first followed by 1, 2 and so
1 3887I am DeePu sotware engineer working with EMC corporation ,recently I had attended mcafee interview . Their questions were at heights of stupidity , I don't know what they want , I am a developer with 4 year experienced .I am listing the questions asked 1:What is the flag in g++ to avoid structure padding 2:In wht order parameters are passed to stack 3:How you will edit code segment of an exe
1 7197class A { public: void f(); protected: A() {} A(const A&){} }; Examine the class declaration shown above. Why are the default and copy constructors declared as protected? 1. To ensure that A cannot be created via new by a more derived class 2. To ensure that A cannot be copied 3. To ensure that A cannot be used as a base class except when public inheritance has been used 4. To ensure that A cannot be created/copied outside the inheritance chain 5. To ensure that A cannot be instantiated as a static variable
1 8042
What is array in c++ example?
What is ostream in c++?
What does h mean in maths?
What does std mean in c++?
How many keywords are used in c++?
What is a multiset c++?
What is encapsulation in ict?
What are the various storage classes in C++?
Is c++ a programming language?
What is std :: endl?
Write a program which uses functions like strcmp(), strcpy()? etc
What does it mean to declare a member function as virtual?
What is use of overloading?
Why are pointers used?
How const int *ourpointer differs from int const *ourpointer?