Discussion :: Functions - C++
-
Which of the following statement is correct about the program given below?
#include void Tester(float xx, float yy = 5.0); class Freshergate { float x; float y; public: void Tester(float xx, float 5.0) { x = xx; y = yy; cout int main() { Freshergate objGate; objGate.Tester(5.0, 5.0); return 0; }
|
A.
The program will print the output 0. |
|
B.
The program will print the output 1. |
|
C.
The program will print the output 2. |
|
D.
The program will print the output garbage value. |
|
E.
The program will report compile time error. |
Answer : Option E
Explanation :
No answer description available for this question.
Be The First To Comment

Whatsapp
Facebook