How do you show the declaration of a virtual constructor?
No Answer is Posted For this Question
Be the First to Post Answer
Evaulate: 22%5 a) 2 b) 4 c) 0
Difference between Operator overloading and Functional overloading?
What is jump statement in C++?
Write a C++ Program to check whether a number is prime number or not?
How do I get good at c++ programming?
Find out the bug in this code,because of that this code will not compile....... #include <iostream> #include <new> #include <cstring> using namespace std; class balance { double cur_bal; char name[80]; public: balance(double n, char *s) { cur_bal = n; strcpy(name, s); } ~balance() { cout << "Destructing "; cout << name << "\n"; } void set(double n, char *s) { cur_bal = n; strcpy(name, s); } void get_bal(double &n, char *s) { n = cur_bal; strcpy(s, name); } }; int main() { balance *p; char s[80]; double n; int i; try { p = new balance [3]; // allocate entire array } catch (bad_alloc xa) { cout << "Allocation Failure\n"; return 1; }
Explain data encapsulation?
What is the maximum combined length of command line arguments including the space between adjacent arguments?
Is java the same as c++?
int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}
Where is atoi defined?
CAN U SAY WHICH PROGRAMING LANGUAGE IS USED BY DOCTORS....?