Q: 17
What happens when you attempt to compile and run the following code?
#include
using namespace std;
int min(int a, int b);
int main()
{
int b=10;
b = min(5,20);
cout << b;
return 0;
}
int min(int a, int b)
{
if (a<b)
return(a);
else
return(b);
}
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.