U
Q. What is the output of this program?
#include #include using namespace std; void function(std::string message, ...); int main() { function("UdayMCQBuddy", 5, 7, 10, 8, 9); return 0; } void function(std::string message, ...) { va_list ptr; int number; va_start(ptr, message); number = va_arg(ptr, int); number = va_arg(ptr, int); cout << number; }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. Value of ix+j, if i, j are integer type and ix long type would be
Q. How many can max number of arguments present in function in the c99 compiler?
Q. What is the output of the following C++ code?
Q. What is the purpose of the 'namespace' in C++?
Q. Which of the following never requires any arguments?
Q. What is the difference between cin and scanf()?
Q. The array can be described as?
Discusssion
Login to discuss.