int main() {
  float a[10];
  float b[3][6];
  float c;
  int i;
  int j;
  for (i = 1; i <= 10; i += 1) {
    a[i - 1] = i * 10;
  }
  for (typeof(&(a[0])) elemento = &(a[0]); elemento <= &(a[9]); elemento++) {
    printf("%s\n", (*elemento));
  }
  c = 0;
  for (typeof(&(b[0][0])) x = &(b[0][0]); x <= &(b[2][5]); x++) {
    c = c + 1;
    (*x) = c;
  }
  for (i = 3; i >= 1; i -= 1) {
    for (j = 1; j <= 5; j += 2) {
      printf("%f\n", b[i - 1][j - 1]);
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x1,-0x88(%rbp)
cmpl   $0xa,-0x88(%rbp)
jg     1169 <main+0x59>
imul   $0xa,-0x88(%rbp),%eax
cvtsi2ss %eax,%xmm0
mov    -0x88(%rbp),%eax
sub    $0x1,%eax
cltq
movss  %xmm0,-0x30(%rbp,%rax,4)
mov    -0x88(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x88(%rbp)
jmp    112c <main+0x1c>
lea    -0x30(%rbp),%rax
mov    %rax,-0x98(%rbp)
mov    -0x98(%rbp),%rax
lea    -0x30(%rbp),%rcx
add    $0x24,%rcx
cmp    %rcx,%rax
ja     11c0 <main+0xb0>
mov    -0x98(%rbp),%rax
movss  (%rax),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe62(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x98(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x98(%rbp)
jmp    1174 <main+0x64>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x84(%rbp)
ff
lea    -0x80(%rbp),%rax
mov    %rax,-0xa0(%rbp)
mov    -0xa0(%rbp),%rax
lea    -0x80(%rbp),%rcx
add    $0x30,%rcx
add    $0x14,%rcx
cmp    %rcx,%rax
ja     1234 <main+0x124>
movss  0xe06(%rip),%xmm0
addss  -0x84(%rbp),%xmm0
ff
movss  %xmm0,-0x84(%rbp)
ff
movss  -0x84(%rbp),%xmm0
ff
mov    -0xa0(%rbp),%rax
movss  %xmm0,(%rax)
mov    -0xa0(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0xa0(%rbp)
jmp    11d6 <main+0xc6>
movl   $0x3,-0x88(%rbp)
cmpl   $0x1,-0x88(%rbp)
jl     12c9 <main+0x1b9>
movl   $0x1,-0x8c(%rbp)
cmpl   $0x5,-0x8c(%rbp)
jg     12b0 <main+0x1a0>
mov    -0x88(%rbp),%eax
sub    $0x1,%eax
movslq %eax,%rcx
lea    -0x80(%rbp),%rax
imul   $0x18,%rcx,%rcx
add    %rcx,%rax
mov    -0x8c(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xd73(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x8c(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x8c(%rbp)
jmp    1255 <main+0x145>
jmp    12b5 <main+0x1a5>
mov    -0x88(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x88(%rbp)
jmp    123e <main+0x12e>
xor    %eax,%eax
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
sub    $0x80,%rsp
movaps 0xedd(%rip),%xmm0
movaps %xmm0,0x50(%rsp)
movaps 0xee1(%rip),%xmm0
movaps %xmm0,0x60(%rsp)
movabs $0x42c8000042b40000,%rax
mov    %rax,0x70(%rsp)
lea    0x74(%rsp),%r14
lea    0xedd(%rip),%r15
movsd  0xec9(%rip),%xmm0
mov    %r15,%rdi
mov    $0x1,%al
call   1030 <printf@plt>
lea    0x54(%rsp),%rbx
cs nopw 0x0(%rax,%rax,1)
movss  (%rbx),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r15,%rdi
mov    $0x1,%al
call   1030 <printf@plt>
add    $0x4,%rbx
cmp    %r14,%rbx
jbe    1170 <main+0x60>
mov    %rsp,%rax
xorps  %xmm0,%xmm0
lea    0x44(%rsp),%rcx
movss  0xe8a(%rip),%xmm1
xchg   %ax,%ax
addss  %xmm1,%xmm0
movss  %xmm0,(%rax)
add    $0x4,%rax
cmp    %rcx,%rax
jbe    11a0 <main+0x90>
movss  0x30(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe6e(%rip),%rbx
mov    %rbx,%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  0x38(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  0x40(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  0x18(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  0x20(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  0x28(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  (%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  0x8(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  0x10(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x80,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [4 x i8] c"%s\0A\00"
@.str.1 = [4 x i8] c"%f\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [10 x float]
%3 = alloca [3 x [6 x float]]
%4 = alloca float
%5 = alloca i32
%6 = alloca i32
%7 = alloca float*
%8 = alloca float*
store i32 0, i32* %1
store i32 1, i32* %5
br label %9
9: ; preds = %20, %0
%10 = load i32, i32* %5
%11 = icmp sle i32 %10, 10
br i1 %11, label %12, label %23
12: ; preds = %9
%13 = load i32, i32* %5
%14 = mul nsw i32 %13, 10
%15 = sitofp i32 %14 to float
%16 = load i32, i32* %5
%17 = sub nsw i32 %16, 1
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [10 x float], [10 x float]* %2, i64 0, i64 %18
store float %15, float* %19
br label %20
20: ; preds = %12
%21 = load i32, i32* %5
%22 = add nsw i32 %21, 1
store i32 %22, i32* %5
br label %9
23: ; preds = %9
%24 = getelementptr inbounds [10 x float], [10 x float]* %2, i64 0, i64 0
store float* %24, float** %7
br label %25
25: ; preds = %34, %23
%26 = load float*, float** %7
%27 = getelementptr inbounds [10 x float], [10 x float]* %2, i64 0, i64 9
%28 = icmp ule float* %26, %27
br i1 %28, label %29, label %37
29: ; preds = %25
%30 = load float*, float** %7
%31 = load float, float* %30
%32 = fpext float %31 to double
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), double %32)
br label %34
34: ; preds = %29
%35 = load float*, float** %7
%36 = getelementptr inbounds float, float* %35, i32 1
store float* %36, float** %7
br label %25
37: ; preds = %25
store float 0.000000e+00, float* %4
%38 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %3, i64 0, i64 0
%39 = getelementptr inbounds [6 x float], [6 x float]* %38, i64 0, i64 0
store float* %39, float** %8
br label %40
40: ; preds = %50, %37
%41 = load float*, float** %8
%42 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %3, i64 0, i64 2
%43 = getelementptr inbounds [6 x float], [6 x float]* %42, i64 0, i64 5
%44 = icmp ule float* %41, %43
br i1 %44, label %45, label %53
45: ; preds = %40
%46 = load float, float* %4
%47 = fadd float %46, 1.000000e+00
store float %47, float* %4
%48 = load float, float* %4
%49 = load float*, float** %8
store float %48, float* %49
br label %50
50: ; preds = %45
%51 = load float*, float** %8
%52 = getelementptr inbounds float, float* %51, i32 1
store float* %52, float** %8
br label %40
53: ; preds = %40
store i32 3, i32* %5
br label %54
54: ; preds = %77, %53
%55 = load i32, i32* %5
%56 = icmp sge i32 %55, 1
br i1 %56, label %57, label %80
57: ; preds = %54
store i32 1, i32* %6
br label %58
58: ; preds = %73, %57
%59 = load i32, i32* %6
%60 = icmp sle i32 %59, 5
br i1 %60, label %61, label %76
61: ; preds = %58
%62 = load i32, i32* %5
%63 = sub nsw i32 %62, 1
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %3, i64 0, i64 %64
%66 = load i32, i32* %6
%67 = sub nsw i32 %66, 1
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [6 x float], [6 x float]* %65, i64 0, i64 %68
%70 = load float, float* %69
%71 = fpext float %70 to double
%72 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double %71)
br label %73
73: ; preds = %61
%74 = load i32, i32* %6
%75 = add nsw i32 %74, 2
store i32 %75, i32* %6
br label %58
76: ; preds = %58
br label %77
77: ; preds = %76
%78 = load i32, i32* %5
%79 = sub nsw i32 %78, 1
store i32 %79, i32* %5
br label %54
80: ; preds = %54
ret i32 0
}

LLVM IR (-O2):
@.str = [4 x i8] c"%s\0A\00"
@.str.1 = [4 x i8] c"%f\0A\00"
define i32 @main() {
%1 = alloca [10 x float]
%2 = alloca [3 x [6 x float]]
%3 = bitcast [10 x float]* %1 to i8*
%4 = bitcast [3 x [6 x float]]* %2 to i8*
%5 = bitcast [10 x float]* %1 to <4 x float>*
store <4 x float> <float 1.000000e+01, float 2.000000e+01, float 3.000000e+01, float 4.000000e+01>, <4 x float>* %5
%6 = getelementptr inbounds [10 x float], [10 x float]* %1, i64 0, i64 4
%7 = bitcast float* %6 to <4 x float>*
store <4 x float> <float 5.000000e+01, float 6.000000e+01, float 7.000000e+01, float 8.000000e+01>, <4 x float>* %7
%8 = getelementptr inbounds [10 x float], [10 x float]* %1, i64 0, i64 8
store float 9.000000e+01, float* %8
%9 = getelementptr inbounds [10 x float], [10 x float]* %1, i64 0, i64 9
store float 1.000000e+02, float* %9
%10 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), double 1.000000e+01)
%11 = getelementptr inbounds [10 x float], [10 x float]* %1, i64 0, i64 1
br label %15
12: ; preds = %15
%13 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %2, i64 0, i64 0, i64 0
%14 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %2, i64 0, i64 2, i64 5
br label %22
15: ; preds = %0, %15
%16 = phi float* [ %11, %0 ], [ %20, %15 ]
%17 = load float, float* %16
%18 = fpext float %17 to double
%19 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), double %18)
%20 = getelementptr inbounds float, float* %16, i64 1
%21 = icmp ugt float* %20, %9
br i1 %21, label %12, label %15
22: ; preds = %12, %22
%23 = phi float* [ %13, %12 ], [ %26, %22 ]
%24 = phi float [ 0.000000e+00, %12 ], [ %25, %22 ]
%25 = fadd float %24, 1.000000e+00
store float %25, float* %23
%26 = getelementptr inbounds float, float* %23, i64 1
%27 = icmp ugt float* %26, %14
br i1 %27, label %28, label %22
28: ; preds = %22
%29 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %2, i64 0, i64 2, i64 0
%30 = load float, float* %29
%31 = fpext float %30 to double
%32 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double %31)
%33 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %2, i64 0, i64 2, i64 2
%34 = load float, float* %33
%35 = fpext float %34 to double
%36 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double %35)
%37 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %2, i64 0, i64 2, i64 4
%38 = load float, float* %37
%39 = fpext float %38 to double
%40 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double %39)
%41 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %2, i64 0, i64 1, i64 0
%42 = load float, float* %41
%43 = fpext float %42 to double
%44 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double %43)
%45 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %2, i64 0, i64 1, i64 2
%46 = load float, float* %45
%47 = fpext float %46 to double
%48 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double %47)
%49 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %2, i64 0, i64 1, i64 4
%50 = load float, float* %49
%51 = fpext float %50 to double
%52 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double %51)
%53 = load float, float* %13
%54 = fpext float %53 to double
%55 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double %54)
%56 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %2, i64 0, i64 0, i64 2
%57 = load float, float* %56
%58 = fpext float %57 to double
%59 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double %58)
%60 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %2, i64 0, i64 0, i64 4
%61 = load float, float* %60
%62 = fpext float %61 to double
%63 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double %62)
ret i32 0
}