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. In a class specified, data or functions and designated private are accessible
Q. What operation can be performed by destructor?
Q. When a virtual function is redefined by the derived class, it is called___________.
Q. Write the range of value of the data type ‘char’
Q. To which type, enumerations can be assigned?
Q. A class defined within another class in c++ is called
Q. Which operator is having the highest precedence?
Q. Which of the following is correct about class and structure?
Q. What is the output of this program?
Q. In Object-oriented programming, the problem is divided into _______
Discusssion
Login to discuss.