Skip to content

Instantly share code, notes, and snippets.

@TyounanMOTI
Created June 16, 2011 10:05
Show Gist options
  • Save TyounanMOTI/1028981 to your computer and use it in GitHub Desktop.
Save TyounanMOTI/1028981 to your computer and use it in GitHub Desktop.
5/2
#include <stdio.h>
int main( void ) {
double f = 5/2;
printf("%f\n", f);
}
@TyounanMOTI
Copy link
Author

output is 2.000000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment