Skip to content

Instantly share code, notes, and snippets.

@fsouza
Created May 25, 2012 04:09
Show Gist options
  • Save fsouza/2785689 to your computer and use it in GitHub Desktop.
Save fsouza/2785689 to your computer and use it in GitHub Desktop.
the integer miracle
#include <stdio.h>
void
checkMiracle(int x)
{
if (x != 0 && x == -x) {
printf("Miracle!\n");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment