Advertisement
FollowTheMedia

Simple C program making use of an header file

Jan 6th, 2013
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.26 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include "header.h"
  4.  
  5. tipo_out funzioncina(tipo_in b){
  6.   tipo_out r = b*1.00000006l;
  7.   return r;
  8. }
  9.  
  10. int main(void){
  11.   tipo_out o;
  12.   tipo_in i = 12.4;
  13.   o = funzioncina(i);
  14.   printf("%0.40f\n",o);
  15.   return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement