Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
C++ Programming
»
Functions
What will be the output of the following program? #include<iostream.h> long CuriousTabFunction(int x, int y = 5, float z = 5) { return(++x * ++y + (int)++z); } int main() { cout<< CuriousTabFunction(20, 10); return 0; }
237
242
240
35
The program will report error on compilation.
Show Answer
Correct Answer:
237
← Previous
Next →
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment