What happens when you attempt to compile and run the following code?
#include
int main()
{
int x = compare(10, 20); cout << x; return 0;
}
int compare(int i, int j)
{ return i
B. It prints: 2
C. It prints: 1
D. It prints: 10
What happens when you attempt to compile and run the following code?
#include
int main()
{
int x = compare(10, 20); cout << x; return 0;
}
int compare(int i, int j)
{ return i
B. It prints: 2
C. It prints: 1
D. It prints: 10