Fallstar

Untitled

Sep 28th, 2015
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.66 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. char tableauGlobal[65536] ;
  5. int tableau2[] = { 2, 3, 5, 7 };
  6.  
  7. static int f0(int f0_var0){
  8.     int f0_var1;
  9.     f0_var1 = f0_var0 * f0_var0;
  10.     return f0_var1;
  11. }
  12.  
  13. static void f1(int f1_v0)
  14. {
  15.     printf("Le carre de %d est %d\n", f1_v0, f0(f1_v0));
  16.     if (f1_v0 < 1000)
  17.         {
  18.             int f1_v1;
  19.             f1_v1 = f1_v0 * f1_v0 * f1_v0;
  20.             printf("Le cube de %d est %d\n", f1_v0, f1_v1);
  21.         }
  22. }
  23.  
  24. int main(int argc, char *argv[])
  25. {
  26.     static int main_v0 = 9973;
  27.     static char main_v1[10240000];
  28.     char *main_v2;
  29.     main_v2 = malloc(1024);
  30.     f1(main_v0);
  31.     exit(0);
  32. }
Advertisement
Add Comment
Please, Sign In to add comment