What apps are written in c++?
No Answer is Posted For this Question
Be the First to Post Answer
What is Destructor in C++?
What are the various storage classes in C++?
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; }
Is linux written in c or c++?
Can you explain the term "resource acquisition is initialization?"
Is c++ a software?
What are the three forms of cin.get() and what are their differences?
What is the difference between a baller and a reference in C++?
What is cout flush?
They will ask u question about single linked list?. Write Code for to insert delete node.
Which compiler does turbo c++ use?
Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?