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. There is nothing like a virtual constructor of a class.
Q. In CPP, cin and cout are the predefined stream __________ .
Q. What is the scope of the variable declared in the user defined function?
Q. For automatic objects, constructors and destructors are called each time the objects
Q. What will be output for the followiing code?
Q. Which of the following types is the language C++?
Q. Are both of the preprocessor directives solving same purpose?
Q. A C++ code line ends with ___
Q. Which of the following types is not present in C but present in C++?
Discusssion
Login to discuss.