Home / MCQ Bank / Computer
Computer Functions And Procedures In C Plus Plus Difficulty: Medium

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; }

Select the correct option to test your answer:

More Computer Questions

Which of these type parameters is used for a generic methods to return and accept a number? What does Files.lines(Path path) do? Which of these cannot be declared static? What will be the output of the following Java code snippet? int a = random.nextInt(15) + 1; What is the syntax of swap()?