C++ Programming :: Constructors and Destructors
-
p>What will be the output of the following program?
#include<iostream.h> class FresherGate { int x; public: FresherGate(int xx, float yy) { cout<< char(yy); } }; int main() { FresherGate *p = new FresherGate(35, 99.50f); return 0; }
-
Which of the following statement is correct about the program given below?
#include
-
Which of the following statement is correct about the program given below?
#include
-
Which of the following statement is correct about the program given below?
#include
-
#include
int val = 0; class Freshergate { public: Freshergate() { cout -
Which of the following constructor is used in the program given below?
#include
-
What will be the output of the following program?
#include
-
What will be the output of the following program?
#include
-
Which of the following statement is correct about the program given below?
#include
(char ch)
{ cout"Char" cout"Final"; } }; int main() { FresherGate *ptr = new FresherGate('B'); return 0; }
-
Which of the following statement is correct about the program given below?
#include