int main() {
  if ('\0')
    printf("Yes True");
  else
    printf("False man");
  ;
  char bla[20] = "adfadfadf";
  printf("%s\n", bla);
  char *ep = strchrnul(bla, '\n');
  char *fp = strchrnul(bla, 'f');
  printf("%s %c", fp, fp);
  if (*ep == '\0')
    printf("No its \\0");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeca(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    0xedc(%rip),%rax
mov    %rax,-0x20(%rbp)
mov    0xed9(%rip),%rax
mov    %rax,-0x18(%rbp)
mov    0xed7(%rip),%eax
mov    %eax,-0x10(%rbp)
lea    -0x20(%rbp),%rsi
lea    0xea3(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x20(%rbp),%rdi
mov    $0xa,%esi
mov    $0x0,%al
call   1030 <strchrnul@plt>
cltq
mov    %rax,-0x28(%rbp)
lea    -0x20(%rbp),%rdi
mov    $0x66,%esi
mov    $0x0,%al
call   1030 <strchrnul@plt>
cltq
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rsi
mov    -0x30(%rbp),%rdx
lea    0xe65(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x28(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    11ce <main+0xae>
lea    0xe4d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
sub    $0x18,%rsp
lea    0xec2(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movaps 0xed4(%rip),%xmm0
movaps %xmm0,(%rsp)
movl   $0x0,0x10(%rsp)
mov    %rsp,%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
mov    $0xa,%esi
xor    %eax,%eax
call   1040 <strchrnul@plt>
movslq %eax,%r14
mov    %rbx,%rdi
mov    $0x66,%esi
xor    %eax,%eax
call   1040 <strchrnul@plt>
movslq %eax,%rdx
lea    0xe7c(%rip),%rdi
mov    %rdx,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
cmpb   $0x0,(%r14)
jne    11ac <main+0x7c>
lea    0xe6b(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [10 x i8] c"False man\00"
@__const.main.bla = [20 x i8] c"adfadfadf\00\00\00\00\00\00\00\00\00\00\00"
@.str.1 = [4 x i8] c"%s\0A\00"
@.str.2 = [6 x i8] c"%s %c\00"
@.str.3 = [10 x i8] c"No its \\0\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [20 x i8]
%3 = alloca i8*
%4 = alloca i8*
store i32 0, i32* %1
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
%6 = bitcast [20 x i8]* %2 to i8*
%7 = getelementptr inbounds [20 x i8], [20 x i8]* %2, i64 0, i64 0
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %7)
%9 = getelementptr inbounds [20 x i8], [20 x i8]* %2, i64 0, i64 0
%10 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @strchrnul to i32 (i8*, i32, ...)*)(i8* %9, i32 10)
%11 = sext i32 %10 to i64
%12 = inttoptr i64 %11 to i8*
store i8* %12, i8** %3
%13 = getelementptr inbounds [20 x i8], [20 x i8]* %2, i64 0, i64 0
%14 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @strchrnul to i32 (i8*, i32, ...)*)(i8* %13, i32 102)
%15 = sext i32 %14 to i64
%16 = inttoptr i64 %15 to i8*
store i8* %16, i8** %4
%17 = load i8*, i8** %4
%18 = load i8*, i8** %4
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* %17, i8* %18)
%20 = load i8*, i8** %3
%21 = load i8, i8* %20
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %0
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0))
br label %26
26: ; preds = %24, %0
ret i32 0
}

LLVM IR (-O2):
@.str = [10 x i8] c"False man\00"
@__const.main.bla = [20 x i8] c"adfadfadf\00\00\00\00\00\00\00\00\00\00\00"
@.str.2 = [6 x i8] c"%s %c\00"
@.str.3 = [10 x i8] c"No its \\0\00"
define i32 @main() {
%1 = alloca [20 x i8]
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0))
%3 = getelementptr inbounds [20 x i8], [20 x i8]* %1, i64 0, i64 0
%4 = call i32 @puts(i8* %3)
%5 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @strchrnul to i32 (i8*, i32, ...)*)(i8* %3, i32 10)
%6 = sext i32 %5 to i64
%7 = inttoptr i64 %6 to i8*
%8 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @strchrnul to i32 (i8*, i32, ...)*)(i8* %3, i32 102)
%9 = sext i32 %8 to i64
%10 = inttoptr i64 %9 to i8*
%11 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* %10, i8* %10)
%12 = load i8, i8* %7
%13 = icmp eq i8 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %0
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0))
br label %16
16: ; preds = %14, %0
ret i32 0
}