Skip to content

Instantly share code, notes, and snippets.

@xelemental
Created December 13, 2021 15:20
Show Gist options
  • Save xelemental/f366c22d19bdde1fbabc7215730522ad to your computer and use it in GitHub Desktop.
Save xelemental/f366c22d19bdde1fbabc7215730522ad to your computer and use it in GitHub Desktop.
#include <iostream>
using namespace std;
void multiply(int a, int b)
{
cout << a * b << endl;
}
void multiply(double a, double b)
{
cout << a * b << endl;
}
int main()
{
multiply(1, 2);
multiply(5.5, 8.3);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment