ExamVeda
Login
Home
Functions and Procedures in C plus plus
?

What will be the output of the following C++ code?
#include <iostream>
#include <stdarg.h>
using namespace std;
int flue(char c,...);
int main()
{
    int x, y;
    x = flue('A', 1, 2, 3);
    y = flue('1', 1.0,1, '1', 1.0f, 1l);
    cout << x << y;
    return 0;
}
int flue(char c,...)
{
    return c;
}

Answer & Solution
Correct Answer: Option A
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.