Latest Answer: C++ has plenty of features than C, so a lot of syntax needs to be know by the programmer. Well when we need more, we should learn more.Another disadvantage is that C++ is not suitable for embedded controllers, as the executable size is more in C++, than ...
Latest Answer: Encpasulation is the process of packaging the classes into the public interfaces and private implementation, so that, any changes in the code will not effect the implmentation. The interfaces should be designed such that the actual implementation would ...
Latest Answer: Polymorphic means many forms. The object of the polymorphic class pointer can store any derived class objects and called respective member functions when its object member functions is called automatically instead of calling base class member function.By ...
dynamic_cast checks for datatype at runtime but static_cast checks at compilation. Is this the only diffrence b/w them or is there anything else? at the time of programming which shud we prefer to call.
Latest Answer: static_cast is used for all conversions that are well defined.Like float to int. double to int etc.dynamic_cast is used for type-safe downcasting. For this one must be working with a truly polymorphic hierarchy.(i.e with virtual functions).downcasting ...
Latest Answer: Fake pointer is used to create a illusion or virtual functionality of pointer which is used to mutate the objects where single objects have multiple functionality at same time.Please confirm , i just guess ...
Latest Answer: Any mistakes like syntax error, using a variable which is not declared these will be compile time errors. If any Dll is missing in the program that will come under linking error. If you have multiple main() functions in different files in the same project ...
Latest Answer: The statement "But overloading of functions with different return types are not allowed." is incorrect. Function overloading only disallows overloading of functions with the same signatures but different return types. It is ok to return ...
Latest Answer: IN docview ..acually weuse 3 tier architecture...we seperate the implementationin data,logic,view(GUI)so that if we can change these component independently......this all is to make the design extendible & to reduce couplingin mdi we can have different ...
Latest Answer: Mode = mode + frequency[index] * (index+1) ...
Latest Answer: Same as above except using arrays. #include #include int main() {int arrNums[] = {1,2,4,5,1,3,4,2,3,4}; //find mode average, mode average is most frequently appearing number.int nModeValue = 0; int nModeCount = 0;const ...
View page << Previous 3 4 5 6 [7] 8 9 10 11 12 Next >>

Go Top