Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

Impetus C++ General Interview Questions
Questions Answers Views Company eMail

Find out the bug in this code,because of that this code will not compile....... #include #include #include 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; }

2 4702

Write a program to show polymorphism in C++?

331

How do we balance an AVL Tree in C++?

352

Difference between Abstraction and encapsulation in C++?

341

Post New Impetus C++ General Interview Questions






Un-Answered Questions

Tell me how many significant figures are there in the number 0.0036?

282


How many types of sorting algorithms are there?

232


What is the lot size attribute of a material?

361


What do you mean by term 'Loan Maturity' and 'Yield'?

325


How many points do you need to overcall 1nt?

42






what are the main configuration parameters that user need to specify to run Mapreduce Job ?

212


What are functions of “nova”?

1


Explain will comparison of string "10" and integer 11 work in php?

50


what is a register when referring to accounting or bookkeeping?

310


Is angular js mvc?

1


Do I need all the microsoft visual c++ redistributable?

237


What is the default server name for sql server?

281


How do I merge cells in excel 2007?

147


What is the importance of android in the mobile market?

241


in a direct memory access how does the CPU know when the memory operation are complete

2012