Page 1 of 1

What will be the output of the program?#include <iostream>using namespace std;int fun(int);int main(){cout << fun(5);ret

Posted: Wed Aug 03, 2022 9:20 am
by answerhappygod
What will be the output of the program?#include <iostream>using namespace std;int fun(int);int main(){cout << fun(5);return 0;}int fun(int i){return i*i;}

A. 25
B. 5
C. 0
D. 1