what is the difference between virtual function and
destoctor?
Answer / prabhakar
virtual function is just like a member function of a class.it is used to over loading mechanisam.it can be acesses by any object of either base class or derived class.
destructor is used to dellocate the memory of an object.it can call by using delete operator.
| Is This Answer Correct ? | 3 Yes | 0 No |
What is byval and byref? What are differences between them?
What is the concept of object oriented program?
Have you ever used threads?
What are the 3 principles of oop?
Why do we use oops?
What does <> mean pseudocode?
how to get the oracle certification? send me the answer
#include <iostream> using namespace std; int main() { int a = 2; int c[5][5]; for (int x=0;x<5;x++) { for (int y=0;y<5;y++) { c[x][y] = x*y; } } cout << c[a][c[1][4]]; }
write a program to find the largest of two numbers without using for,while,switch,if else, conditional operator and do while using c++ pgmng language
Please tell me the oops concept with detailed answer
What is memory leak and memory corruption?
What is the point of oop?