Home / Programming MCQs / C++ MCQs / Question
U
Q. What is the output of this program?
#include #include using namespace std; int funcion(char ch,...); int main() { int p, q; p = funcion('B', 2, 3, 4); q = funcion('3', 2.0, 2, '3', 2.0f, 10); cout << p<<" " << q; return 0; } int funcion(char ch,...) { return ch; }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Choose the correct formatted code.
When can we have two classes with same name?
__________are used for generic programming.
The function called to passed the entire array?
Which of the following is the most general exception handler that catches exception of ‘any type’?
Which header file do we use for the generation of random numbers?
Which looping process checks the test condition at the end of the loop?
Which loop is best used when the number of iterations is known in advance?
What is the output of the following C++ program?
In a for loop with a multi-statement, loop body semicolons should appear
Discusssion
Login to discuss.