A
asit
Please fix the bugs ..???
#include <iostream>
//#include <cstdio>
using namespace std;
int& swap(int a, int b)
{
return (a>b)?a:b;
}
int main()
{
int a,b;
cout<<"Enter a and b : ";
cin>>a>>b;
max(a,b)=-1;
cout<<a<<"\t"<<b<<endl;
//getchar();
return 0;
}
#include <iostream>
//#include <cstdio>
using namespace std;
int& swap(int a, int b)
{
return (a>b)?a:b;
}
int main()
{
int a,b;
cout<<"Enter a and b : ";
cin>>a>>b;
max(a,b)=-1;
cout<<a<<"\t"<<b<<endl;
//getchar();
return 0;
}