What will be the output of the program?
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
Answer: A
Latest CPA-21-02 Practice Questions with 222 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments