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 4327

Write a program to show polymorphism in C++?

162

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

193

Difference between Abstraction and encapsulation in C++?

184

Post New Impetus C++ General Interview Questions






Un-Answered Questions

Which country has the minimum cash to GDP ratio?

177


What is meant by forward referencing and when should it be used?

157


What do you mean by viewresolver in spring?

9


What are tablesets and setids in peoplesoft hrms?

129


Is char array null terminated?

89






Is formatting a hard drive bad?

94


What is the numeric promotion?

132


As the temperature of a p-type semi-conductor is gradually and continuously increased, what will happen to the fermi level?

214


How do you delete a column?

95


What is count(*) from po_vendors(any table)?

150


How do I create an index in word 2019?

68


What are the objectives using the automation anywhere control room?

1


What is the sequence of firing in report trigger?

1


What are the parts of c program?

139


Explain about the role of xml in soap?

141