MCQOPTIONS
Saved Bookmarks
| 1. |
#include <iostream>using namespace std;class LFC{ int *p; public: LFC(int xx, char ch) { p = new int(); *p = xx + int(ch); cout<< *p; } ~LFC() { delete p; }};int main(){ LFC obj(15, 'A'); return 0;}15.Which of the following is true about the following program |
| A. | The program will print the output Short . |
| B. | The program will print the output Final . |
| C. | The program will print the output Float . |
| D. | The program will print the output Int. |
| Answer» E. | |