#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 */

/* Variables and functions */
int /*<<< orphan*/ printf(char *, char);
char *strcat(char *, char const *);
main() {
  char *Dictionary[65536];
  char prueba[] = "42";
  char hello[] = "hello";
  int i;
  char *Temp_Asci;
  char Temporal;
  for (i = 0; i < 256; i++) {
    Temporal = i;
    Temp_Asci = &Temporal;
    Dictionary[i] = Temp_Asci;
  }
  char *P = "b";
  const char *c = "a";
  char *InDictionary;
  Dictionary[1] = strcat(P, c);
  printf("%c\n", *Dictionary[1]);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80050,%rsp
movl   $0x0,-0x4(%rbp)
mov    0xec7(%rip),%ax
mov    %ax,-0x80013(%rbp)
mov    0xebc(%rip),%al
mov    %al,-0x80011(%rbp)
mov    0xeb1(%rip),%eax
mov    %eax,-0x80019(%rbp)
mov    0xea8(%rip),%ax
mov    %ax,-0x80015(%rbp)
movl   $0x0,-0x80020(%rbp)
cmpl   $0x100,-0x80020(%rbp)
jge    11c4 <main+0xa4>
mov    -0x80020(%rbp),%eax
mov    %al,-0x80029(%rbp)
lea    -0x80029(%rbp),%rax
mov    %rax,-0x80028(%rbp)
mov    -0x80028(%rbp),%rcx
movslq -0x80020(%rbp),%rax
mov    %rcx,-0x80010(%rbp,%rax,8)
ff
mov    -0x80020(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x80020(%rbp)
jmp    1170 <main+0x50>
lea    0xe3e(%rip),%rax
mov    %rax,-0x80038(%rbp)
lea    0xe32(%rip),%rax
mov    %rax,-0x80040(%rbp)
mov    -0x80038(%rbp),%rdi
mov    -0x80040(%rbp),%rsi
call   1040 <strcat@plt>
mov    %rax,-0x80008(%rbp)
mov    -0x80008(%rbp),%rax
lea    0xe05(%rip),%rdi
movsbl (%rax),%esi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x80050,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xee8(%rip),%rdi
mov    $0x62,%esi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@__const.main.prueba = [3 x i8] c"42\00"
@__const.main.hello = [6 x i8] c"hello\00"
@.str = [2 x i8] c"b\00"
@.str.1 = [2 x i8] c"a\00"
@.str.2 = [4 x i8] c"%c\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [65536 x i8*]
%3 = alloca [3 x i8]
%4 = alloca [6 x i8]
%5 = alloca i32
%6 = alloca i8*
%7 = alloca i8
%8 = alloca i8*
%9 = alloca i8*
%10 = alloca i8*
store i32 0, i32* %1
%11 = bitcast [3 x i8]* %3 to i8*
%12 = bitcast [6 x i8]* %4 to i8*
store i32 0, i32* %5
br label %13
13: ; preds = %23, %0
%14 = load i32, i32* %5
%15 = icmp slt i32 %14, 256
br i1 %15, label %16, label %26
16: ; preds = %13
%17 = load i32, i32* %5
%18 = trunc i32 %17 to i8
store i8 %18, i8* %7
store i8* %7, i8** %6
%19 = load i8*, i8** %6
%20 = load i32, i32* %5
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [65536 x i8*], [65536 x i8*]* %2, i64 0, i64 %21
store i8* %19, i8** %22
br label %23
23: ; preds = %16
%24 = load i32, i32* %5
%25 = add nsw i32 %24, 1
store i32 %25, i32* %5
br label %13
26: ; preds = %13
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8** %8
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i8** %9
%27 = load i8*, i8** %8
%28 = load i8*, i8** %9
%29 = call i8* @strcat(i8* %27, i8* %28)
%30 = getelementptr inbounds [65536 x i8*], [65536 x i8*]* %2, i64 0, i64 1
store i8* %29, i8** %30
%31 = getelementptr inbounds [65536 x i8*], [65536 x i8*]* %2, i64 0, i64 1
%32 = load i8*, i8** %31
%33 = load i8, i8* %32
%34 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8 signext %33)
ret i32 0
}

LLVM IR (-O2):
@.str.2 = [4 x i8] c"%c\0A\00"
define i32 @main() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8 signext 98)
ret i32 0
}