Latest Answer: I think C is top-down, C++ is bottom up. Am I right? ...
Latest Answer: Memory leak is - dynamically allocating memory and forgeting to free it. In C++, using a new operator to allocate a chunk of memory, and forgetting to delete it. There are several reasons this could occur. Some of them are,1. Allocate a chunk of memory ...
Class A(){};int main(){ A a;}Whether there will be a default contructor provided by the compiler in above case ?
Latest Answer: When the operator operates on the user defined data type or operands behaves same as it operates on inbuilt data type that mechanism is known as operator overloading. The operator that performs the specific task on inbuilt data type  performs similar ...
Latest Answer: The array is terminated by a NULL character. Hence for array elements the space will be length-1. suppose you have 5 elements in an array. The last position is occupied by NULL character, then space available is 4. If the index will start from 1 then ...
Latest Answer: c is a procedural language. where as c++ is object oriented programming language. ...
Latest Answer: This used to delete the dynamically allocated memory from derived as well as base class ...
Latest Answer: look this code which tells we can Create an object for pure virtual function:Class Base{ public: virtual void fun()=0;};class deri:public base{ void fun(){ cout
Hint FO is mechanism in which two functions r having same name with diff no. of arguments.
Latest Answer: return type of overloading function should be same.... ...
No
Latest Answer: yes in c++ a class can have a default constructor.a default constructor is a constructor which doesn't pass any arguements to it. ...
View page << Previous 11 12 13 14 [15] 16 17 18 19 20 Next >>

Go Top