Question 10 What is the output of the following program? #include using namespace std; void showDub(int); int
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Question 10 What is the output of the following program? #include using namespace std; void showDub(int); int
Question 10 What is the output of the following program? #include <iostream> using namespace std; void showDub(int); int main() { int x = 2; showDub(x); cout << x << endl; return 0; } void showDub(int num) { } cout << (num * 2) << endl;