Quiz on Functions
Test your knowledge of functions in C++.
We'll cover the following...
We'll cover the following...
Technical Quiz
1.
What is displayed when the following program is executed?
#include <iostream> using namespace std; int getsum(int y, int z) { int mysum = y + z; return mysum; } int main() { getsum(5,6); return 0; }
A.
It gives no output.
B.
(5+6)
C.
11
D.
56
1 / 5
...