Page 1 of 1

Question 10 What is the output of the following program? #include using namespace std; void showDub(int); int

Posted: Fri Jul 01, 2022 5:42 am
by answerhappygod
Question 10 What Is The Output Of The Following Program Include Iostream Using Namespace Std Void Showdub Int Int 1
Question 10 What Is The Output Of The Following Program Include Iostream Using Namespace Std Void Showdub Int Int 1 (42.96 KiB) Viewed 35 times
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;