Skip to content

Instantly share code, notes, and snippets.

@davetron5000
Created May 22, 2009 15:42
Show Gist options
  • Save davetron5000/116202 to your computer and use it in GitHub Desktop.
Save davetron5000/116202 to your computer and use it in GitHub Desktop.
#include <stdio.h>
int doit(float f) {
printf("%f\n",f);
}
int doitDouble(double d) {
printf("%f\n",d);
}
int main(int argc, char** argv) {
doit(1.0);
doitDouble(1.0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment