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 5379

Write a program to show polymorphism in C++?

629

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

638

Difference between Abstraction and encapsulation in C++?

580

Post New Impetus C++ General Interview Questions




Un-Answered Questions

How the programmer of a class should decide whether to declare member function or a friend function?

682


Explain radio environment in building.

805


2. What do you enjoy about your work place? 3. What is your work ethic? Give an example when your work ethic was challenged and how you dealt with it.

3683


In HPLC- wavelength calibration calculation why we are taking peak height and why should not take peak area?

2136


What do you mean by action methods?

1






why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above

645


What is the basic requirement to start with the jquery?

504


What is sap hybris testing?

5


How do I fix error code 0xc0000005?

419


why is heat treatment of steel metal crucial?

674


wath is this mining of hlr

1903


Can excel be used as database?

337


What is single tag?

473


Explain difference between static and dynamic ip?

634


What is the function of the correction system? : abap data dictionary

606