Skip to content

Instantly share code, notes, and snippets.

@machisuji
Last active August 29, 2015 13:55
Show Gist options
  • Save machisuji/8691728 to your computer and use it in GitHub Desktop.
Save machisuji/8691728 to your computer and use it in GitHub Desktop.
int myFunction(int x)
{
if (x > 10)
return x;
if (x < 10)
return x + 1;
if (x = 10)
return 0;
}
int main()
{
int y = myFunction(42);
cout << y;
char f;
cin >> f;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment