Sample Problem
•
Find the bug in this code:
•
#include <iostream>
•
int test( int n );
•
•
int main()
•
{
•
int n = 5;
•
cout << test( n );
•
return 0;
•
}
•
int test( int )
•
{
•
return (n+1);
•
}