I am trying to return the max value using the max function but its not working on 3 values.
CodeBlocks Error:
error: '__comp' cannot be used as a function
The Code:
#include <iostream>
using namespace std;
int main()
{
cout << max(5, 10, 20);
}