U
Q. What is the output of this program?
#include #include using namespace std; void List(int, ...); int main() { List(2, 5, 10); List(3, 6, 9, 7); return 0; } void List(int num, ...) { va_list a; int k; va_start(a, num); while (num-->0) { k = va_arg(a, int); cout << k; } va_end(a); }
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. Which one is not a correct variable type in C++?
Q. Example of___ is Float a [3] = {10.2, 33.4, 44.4}
Q. Which of the following is not a valid loop statement in C++?
Q. Which of the following is used for comments in
Q. Which of the following is the correct way to initialize a string in C++?
Q. Which of the followings is/are pointer-to-member declarator?
Q. Which of the following is correct in C++?
Q. Find the output of below program.
Q. Which of these operators is used in order to capture every external variable by reference?
Discusssion
Login to discuss.