#include void print_hello(); int main(void){ print_hello(); int a = 3; float b =4.3; printf("a is equal to %d\n", a); printf("b is equal to %f\n", b); /* * what is happening here? * if you are interested, please read * http://stackoverflow.com/questions/7480097/what-happens-to-a-float-variable-when-d-is-used-in-a-printf */ printf("a+b is equal to %d\n", a+b); return 0; } void print_hello(){ printf("Hello World!\n"); }