#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */
typedef int /*<<< orphan*/ myName;
typedef int /*<<< orphan*/ myFullName;
typedef int /*<<< orphan*/ myArray;

/* Variables and functions */
int /*<<< orphan*/ printf(char *, ...);
int main(int argc, const char *argv[]) {
  int myArray[] = {4, 8, 15, 16, 23, 42};
  char myName[] = "Axel";
  char myFullName[] = {'A', 'x', 'e', 'l', ' ', 'I', 'v',
                       'a', 'n', 'o', 'v', 'a', '\0'};
  printf("The size of an int variable is: %lu bytes\n", sizeof(int));
  printf("The value of myArray is: %d, %d, %d, %d, %d, %d\n", myArray[0],
         myArray[1], myArray[2], myArray[3], myArray[4], myArray[5]);
  printf("The size of myArray is: %lu bytes\n", sizeof(myArray));
  printf("The number of elements in myArray is: %lu\n",
         (sizeof(myArray) / sizeof(int)));
  printf("The first element of myArray is: %d\n", myArray[0]);
  printf("The seventh element of myArray is: %d\n", myArray[6]);
  printf("The size of a char variable is: %lu\n", sizeof(char));
  printf("The value of myName is: %s\n", myName);
  printf("The size of myName is: %lu bytes\n", sizeof(myName));
  printf("The number of characters in myName is: %lu\n",
         (sizeof(myName) / sizeof(char)));
  printf("The fifth character in myName is: %c\n", myName[4]);
  printf("The value of myFullName is: %s\n", myFullName);
  printf("The size of myFullName is: %lu bytes\n", sizeof(myFullName));
  printf("The number of characters in myFullName is: %lu\n",
         (sizeof(myFullName) / sizeof(char)));
  printf("The thirteenth character in myFullName is: %c\n", myFullName[12]);
  printf("The fourteenth character in myFullName is: %c\n", myFullName[13]);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    0xed3(%rip),%rax
mov    %rax,-0x30(%rbp)
mov    0xed0(%rip),%rax
mov    %rax,-0x28(%rbp)
mov    0xecd(%rip),%rax
mov    %rax,-0x20(%rbp)
mov    0xecb(%rip),%eax
mov    %eax,-0x35(%rbp)
mov    0xec6(%rip),%al
mov    %al,-0x31(%rbp)
mov    0xebd(%rip),%rax
mov    %rax,-0x42(%rbp)
mov    0xebb(%rip),%eax
mov    %eax,-0x3a(%rbp)
mov    0xeb6(%rip),%al
mov    %al,-0x36(%rbp)
lea    0xead(%rip),%rdi
mov    $0x4,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x30(%rbp),%esi
mov    -0x2c(%rbp),%edx
mov    -0x28(%rbp),%ecx
mov    -0x24(%rbp),%r8d
mov    -0x20(%rbp),%r9d
mov    -0x1c(%rbp),%eax
lea    0xeb1(%rip),%rdi
mov    %eax,(%rsp)
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xed1(%rip),%rdi
mov    $0x18,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xee1(%rip),%rdi
mov    $0x6,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x30(%rbp),%esi
lea    0xef6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%esi
lea    0xf0a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf23(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x35(%rbp),%rsi
lea    0xf31(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf3f(%rip),%rdi
mov    $0x5,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf4e(%rip),%rdi
mov    $0x5,%esi
mov    $0x0,%al
call   1030 <printf@plt>
movsbl -0x31(%rbp),%esi
lea    0xf63(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x42(%rbp),%rsi
lea    0xf77(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf89(%rip),%rdi
mov    $0xd,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf9c(%rip),%rdi
mov    $0xd,%esi
mov    $0x0,%al
call   1030 <printf@plt>
movsbl -0x36(%rbp),%esi
lea    0xfb5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsbl -0x35(%rbp),%esi
lea    0xfd2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
sub    $0x28,%rsp
movb   $0x0,0x14(%rsp)
movl   $0x6c657841,0x10(%rsp)
6c
movabs $0x61766f6e617649,%rax
mov    %rax,0x1d(%rsp)
movabs $0x617649206c657841,%rax
49 76 61
mov    %rax,0x18(%rsp)
lea    0xecc(%rip),%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1030 <printf@plt>
movl   $0x2a,(%rsp)
lea    0xedd(%rip),%rdi
mov    $0x4,%esi
mov    $0x8,%edx
mov    $0xf,%ecx
mov    $0x10,%r8d
mov    $0x17,%r9d
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xee5(%rip),%rdi
mov    $0x18,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xef5(%rip),%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf0d(%rip),%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf1f(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf38(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf4a(%rip),%rdi
lea    0x10(%rsp),%rsi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf53(%rip),%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf62(%rip),%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1030 <printf@plt>
movsbl 0x14(%rsp),%esi
lea    0xf76(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf8e(%rip),%rdi
lea    0x18(%rsp),%rsi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf9b(%rip),%rdi
mov    $0xd,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xfae(%rip),%rdi
mov    $0xd,%esi
xor    %eax,%eax
call   1030 <printf@plt>
movsbl 0x24(%rsp),%esi
lea    0xfc6(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
movsbl 0x25(%rsp),%esi
lea    0xfe2(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x28,%rsp
ret

LLVM IR (-O0):
@__const.main.myArray = [6 x i32] [i32 4, i32 8, i32 15, i32 16, i32 23, i32 42]
@__const.main.myName = [5 x i8] c"Axel\00"
@__const.main.myFullName = [13 x i8] c"Axel Ivanova\00"
@.str = [43 x i8] c"The size of an int variable is: %lu bytes\0A\00"
@.str.1 = [49 x i8] c"The value of myArray is: %d, %d, %d, %d, %d, %d\0A\00"
@.str.2 = [35 x i8] c"The size of myArray is: %lu bytes\0A\00"
@.str.3 = [43 x i8] c"The number of elements in myArray is: %lu\0A\00"
@.str.4 = [37 x i8] c"The first element of myArray is: %d\0A\00"
@.str.5 = [39 x i8] c"The seventh element of myArray is: %d\0A\00"
@.str.6 = [37 x i8] c"The size of a char variable is: %lu\0A\00"
@.str.7 = [28 x i8] c"The value of myName is: %s\0A\00"
@.str.8 = [34 x i8] c"The size of myName is: %lu bytes\0A\00"
@.str.9 = [44 x i8] c"The number of characters in myName is: %lu\0A\00"
@.str.10 = [38 x i8] c"The fifth character in myName is: %c\0A\00"
@.str.11 = [32 x i8] c"The value of myFullName is: %s\0A\00"
@.str.12 = [38 x i8] c"The size of myFullName is: %lu bytes\0A\00"
@.str.13 = [48 x i8] c"The number of characters in myFullName is: %lu\0A\00"
@.str.14 = [47 x i8] c"The thirteenth character in myFullName is: %c\0A\00"
@.str.15 = [47 x i8] c"The fourteenth character in myFullName is: %c\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [6 x i32]
%7 = alloca [5 x i8]
%8 = alloca [13 x i8]
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%9 = bitcast [6 x i32]* %6 to i8*
%10 = bitcast [5 x i8]* %7 to i8*
%11 = bitcast [13 x i8]* %8 to i8*
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str, i64 0, i64 0), i64 4)
%13 = getelementptr inbounds [6 x i32], [6 x i32]* %6, i64 0, i64 0
%14 = load i32, i32* %13
%15 = getelementptr inbounds [6 x i32], [6 x i32]* %6, i64 0, i64 1
%16 = load i32, i32* %15
%17 = getelementptr inbounds [6 x i32], [6 x i32]* %6, i64 0, i64 2
%18 = load i32, i32* %17
%19 = getelementptr inbounds [6 x i32], [6 x i32]* %6, i64 0, i64 3
%20 = load i32, i32* %19
%21 = getelementptr inbounds [6 x i32], [6 x i32]* %6, i64 0, i64 4
%22 = load i32, i32* %21
%23 = getelementptr inbounds [6 x i32], [6 x i32]* %6, i64 0, i64 5
%24 = load i32, i32* %23
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.1, i64 0, i64 0), i32 %14, i32 %16, i32 %18, i32 %20, i32 %22, i32 %24)
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.2, i64 0, i64 0), i64 24)
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.3, i64 0, i64 0), i64 6)
%28 = getelementptr inbounds [6 x i32], [6 x i32]* %6, i64 0, i64 0
%29 = load i32, i32* %28
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.4, i64 0, i64 0), i32 %29)
%31 = getelementptr inbounds [6 x i32], [6 x i32]* %6, i64 0, i64 6
%32 = load i32, i32* %31
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.5, i64 0, i64 0), i32 %32)
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.6, i64 0, i64 0), i64 1)
%35 = getelementptr inbounds [5 x i8], [5 x i8]* %7, i64 0, i64 0
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.7, i64 0, i64 0), i8* %35)
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.8, i64 0, i64 0), i64 5)
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.9, i64 0, i64 0), i64 5)
%39 = getelementptr inbounds [5 x i8], [5 x i8]* %7, i64 0, i64 4
%40 = load i8, i8* %39
%41 = sext i8 %40 to i32
%42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.10, i64 0, i64 0), i32 %41)
%43 = getelementptr inbounds [13 x i8], [13 x i8]* %8, i64 0, i64 0
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.11, i64 0, i64 0), i8* %43)
%45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.12, i64 0, i64 0), i64 13)
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.13, i64 0, i64 0), i64 13)
%47 = getelementptr inbounds [13 x i8], [13 x i8]* %8, i64 0, i64 12
%48 = load i8, i8* %47
%49 = sext i8 %48 to i32
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.14, i64 0, i64 0), i32 %49)
%51 = getelementptr inbounds [13 x i8], [13 x i8]* %8, i64 0, i64 13
%52 = load i8, i8* %51
%53 = sext i8 %52 to i32
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.15, i64 0, i64 0), i32 %53)
ret i32 0
}

LLVM IR (-O2):
@__const.main.myName = [5 x i8] c"Axel\00"
@__const.main.myFullName = [13 x i8] c"Axel Ivanova\00"
@.str = [43 x i8] c"The size of an int variable is: %lu bytes\0A\00"
@.str.1 = [49 x i8] c"The value of myArray is: %d, %d, %d, %d, %d, %d\0A\00"
@.str.2 = [35 x i8] c"The size of myArray is: %lu bytes\0A\00"
@.str.3 = [43 x i8] c"The number of elements in myArray is: %lu\0A\00"
@.str.4 = [37 x i8] c"The first element of myArray is: %d\0A\00"
@.str.5 = [39 x i8] c"The seventh element of myArray is: %d\0A\00"
@.str.6 = [37 x i8] c"The size of a char variable is: %lu\0A\00"
@.str.7 = [28 x i8] c"The value of myName is: %s\0A\00"
@.str.8 = [34 x i8] c"The size of myName is: %lu bytes\0A\00"
@.str.9 = [44 x i8] c"The number of characters in myName is: %lu\0A\00"
@.str.10 = [38 x i8] c"The fifth character in myName is: %c\0A\00"
@.str.11 = [32 x i8] c"The value of myFullName is: %s\0A\00"
@.str.12 = [38 x i8] c"The size of myFullName is: %lu bytes\0A\00"
@.str.13 = [48 x i8] c"The number of characters in myFullName is: %lu\0A\00"
@.str.14 = [47 x i8] c"The thirteenth character in myFullName is: %c\0A\00"
@.str.15 = [47 x i8] c"The fourteenth character in myFullName is: %c\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [5 x i8]
%4 = alloca [13 x i8]
%5 = getelementptr inbounds [5 x i8], [5 x i8]* %3, i64 0, i64 0
%6 = getelementptr inbounds [13 x i8], [13 x i8]* %4, i64 0, i64 0
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str, i64 0, i64 0), i64 4)
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.1, i64 0, i64 0), i32 4, i32 8, i32 15, i32 16, i32 23, i32 42)
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.2, i64 0, i64 0), i64 24)
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str.3, i64 0, i64 0), i64 6)
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.4, i64 0, i64 0), i32 4)
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.5, i64 0, i64 0), i32 poison)
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.6, i64 0, i64 0), i64 1)
%14 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.7, i64 0, i64 0), i8* %5)
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.8, i64 0, i64 0), i64 5)
%16 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @.str.9, i64 0, i64 0), i64 5)
%17 = getelementptr inbounds [5 x i8], [5 x i8]* %3, i64 0, i64 4
%18 = load i8, i8* %17
%19 = sext i8 %18 to i32
%20 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.10, i64 0, i64 0), i32 %19)
%21 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.11, i64 0, i64 0), i8* %6)
%22 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.12, i64 0, i64 0), i64 13)
%23 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @.str.13, i64 0, i64 0), i64 13)
%24 = getelementptr inbounds [13 x i8], [13 x i8]* %4, i64 0, i64 12
%25 = load i8, i8* %24
%26 = sext i8 %25 to i32
%27 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @.str.14, i64 0, i64 0), i32 %26)
%28 = getelementptr inbounds [13 x i8], [13 x i8]* %4, i64 0, i64 13
%29 = load i8, i8* %28
%30 = sext i8 %29 to i32
%31 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @.str.15, i64 0, i64 0), i32 %30)
ret i32 0
}