/lib64/ld-linux-x86-64.so.2 libc.so.6 __printf_chk puts __stack_chk_fail putchar printf malloc __cxa_finalize __libc_start_main GLIBC_2.3.4 GLIBC_2.4 GLIBC_2.2.5 _ITM_deregisterTMCloneTable __gmon_start__ _ITM_registerTMCloneTable ATUSA []A\ D$h1 D$hdH3 ATUSH []A\ AWAVAUATUSH T$@H []A\A]A^A_ AWAVI AUATL []A\A]A^A_ -- part 0 -- inputs[] is at %p ... never mind. ;) -- part2 -- fibbo(5) is %d -- part4 -- some function locations : main is at %p part0 is at %p part1 is at %p part2 is at %p part3 is at %p part4 is at %p new_node is at %p fibbo is at %p swap is at %p printf is at %p (%c node %c at %p : %p : %.2x -- part3 -- -- part1 -- It's another demo.c !!! (Are we having fun yet?) What is your favorite color? address of g in swap_and_stuff is %p before: n1 = %d, n2 = %d, n3 = %d, n4 = %d after: n1 = %d, n2 = %d, n3 = %d, n4 = %d ;*3$" GCC: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 crtstuff.c deregister_tm_clones __do_global_dtors_aux completed.7698 __do_global_dtors_aux_fini_array_entry frame_dummy __frame_dummy_init_array_entry demo.c __FRAME_END__ __init_array_end _DYNAMIC __init_array_start __GNU_EH_FRAME_HDR _GLOBAL_OFFSET_TABLE_ __libc_csu_fini putchar@@GLIBC_2.2.5 _ITM_deregisterTMCloneTable puts@@GLIBC_2.2.5 _edata fibbo make_tree part3 __stack_chk_fail@@GLIBC_2.4 part1 printf@@GLIBC_2.2.5 __libc_start_main@@GLIBC_2.2.5 __data_start __gmon_start__ __dso_handle _IO_stdin_used __libc_csu_init malloc@@GLIBC_2.2.5 __bss_start main __printf_chk@@GLIBC_2.3.4 part0 part4 part2 print_map_node print_tree __TMC_END__ _ITM_registerTMCloneTable swap swap_and_stuff __cxa_finalize@@GLIBC_2.2.5 new_node .symtab .strtab .shstrtab .interp .note.ABI-tag .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt .init .plt.got .text .fini .rodata .eh_frame_hdr .eh_frame .init_array .fini_array .dynamic .data .bss .comment