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. identify the correct example for a pre-increment operator.
Q. How many times mcqbuddy.com is printed?
Q. Which of the following functions must use reference?
Q. The constant that should not have fractional part is ___
Q. Every variable will be referred by its ___
Q. Generic pointers can be declared with__________ .
Q. When Virtual Table is created?
Q. The mechanism of giving special meaning to an operator
Q. Which of the following is an invalid visibility label while inheriting a class?
Discusssion
Login to discuss.