Program received signal SIGSEGV, Segmentation fault.
0x4000726c in _dl_debug_bindings () from /lib/ld-linux.so.2
(gdb) bt
#0 0x4000726c in _dl_debug_bindings () from /lib/ld-linux.so.2
Cannot access memory at address 0x6d5f7250
1. main() 을 return 0 으로 종료하면, 위와 같은 에러가 납니다.
똑같은 데, return 0 대신 exit(0) 으로 종료하면, 정상적으로 마칩니다.
어찌해서 이런 당황스런 경우가 되는 건지, 부탁드리겠습니다.
2. int main() 이고, 인자는 적지 않았습니다.
main() 내에서는 지역 변수 선언을 않고,