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
What will be the output of the program?#include <iostream>using namespace std;int fun(int);int main(){cout << fun(5);ret
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What will be the output of the program?#include <iostream>using namespace std;int fun(int);int main(){cout << fun(5);ret
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!