Skip to content

Instantly share code, notes, and snippets.

@lithix-src
Last active December 19, 2015 23:49
Show Gist options
  • Save lithix-src/6037012 to your computer and use it in GitHub Desktop.
Save lithix-src/6037012 to your computer and use it in GitHub Desktop.
#include <stdio.h>
int main(int argc, char *argv[])
{
int distance = 100;
float power = 2.345f;
double super_power = 56789.4532;
char initial = 'A';
char first_name[] = "Ravaa";
char last_name[] = "Voidstar";
printf("Dist: %d\n", distance);
printf("Power lvl: %f\n", power);
printf("Supa Powa: %.2f\n", super_power);
printf("i haz initial: %c\n", initial);
printf("i haz f name: %s\n", first_name);
printf("i has l name: %s\n", last_name);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment