What are disadvantages of pointers?
No Answer is Posted For this Question
Be the First to Post Answer
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.
Can comments be longer than one line?
You're given an array containing both positive and negative integers and required to find the sub-array with the largest sum (O(N) a la KBL). Write a routine in C for the above.
Why is c++ considered difficult?
Comment on local and global scope of a variable.
how can u create a doubly linked list with out using pointers?
Is it possible to provide default values while overloading a binary operator?
What is scope resolution operator in c++ with example?
What are Virtual Functions? How to implement virtual functions in "C" ?
What are the three types of access specifiers in C++?
What is size of empty class object
What is ifstream c++?