Question: Clearly show the output displayed by the following program segments in the #include using namespace std; //FUNCTION PROTOTYPE void testme (int, int&); } int
Clearly show the output displayed by the following program segments in the #include using namespace std; //FUNCTION PROTOTYPE void testme (int, int&); } int main() ( 1 int i, a l, b=1; for (i =0; i < 7; i++) ( testme (a,b); a++; b++; } return 0; //FUNCTION DEFINITION void testme (int x, int& y) 1 cout < < x < < " # y++; x++; OUTPUT WINDOW: < < y < < endl;
Step by Step Solution
3.44 Rating (157 Votes )
There are 3 Steps involved in it
Heres the corrected code cpp include using namespace std FUNCTION PROTOTYPE void testmeint in... View full answer
Get step-by-step solutions from verified subject matter experts
