#include <iostream> using namespace std; int& minRef(int &a,int &b){ return (a < b) ? a : b; } int main() { int a = 12,b = 8; cout << minRef(a,b) <<endl; return 0; }
To embed this project on your website, copy the following code and paste it into your website's HTML: