C++ Institute CPA - C++ Certified Associate Programmer CPA-21-02 Question # 72 Topic 8 Discussion

C++ Institute CPA - C++ Certified Associate Programmer CPA-21-02 Question # 72 Topic 8 Discussion

CPA-21-02 Exam Topic 8 Question 72 Discussion:
Question #: 72
Topic #: 8

What will be the output of the program?

#include

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


Get Premium CPA-21-02 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.