Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
C++ Programming
»
Constructors and Destructors
What will be the output of the following program? #include
class CuriousTab { int x; public: CuriousTab(int xx, float yy) { cout<< char(yy); } }; int main() { CuriousTab *p = new CuriousTab(35, 99.50f); return 0; }
99
ASCII value of 99
Garbage value
99.50
Show Answer
Correct Answer:
ASCII value of 99
← Previous Question
Next Question→
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment