Live quiz

cpp - Part 20

Question 1 of 25 Hints left: 3
Q1

What will be the output of the following code: int add(int x, int y) { return x + y; } int main() { cout << add(2); } in C++?

  • A
  • B
  • C
  • D