5 votes 5 votes Which of the following programming language(s) provides garbage collection automatically Lisp C++ Fortan C Programming in C isro2007 programming runtime-environment + – go_editor asked Jun 10, 2016 • edited Dec 9, 2022 by Lakshman Bhaiya go_editor 4.0k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 8 votes 8 votes Except Lisp all language C, C++, Fortran have manual memory management.So Lisp provide automatic garbage collection. Reference :Garbage Collection ManojK answered May 20, 2016 • selected Apr 1, 2018 by sourav. ManojK comment Share Follow See 1 comment See all 1 1 comment reply asu commented May 20, 2016 reply Follow Share any reference plz,, 0 votes 0 votes Please log in or register to add a comment.
10 votes 10 votes Answer is A) LISP Because C,C++ and FORTRAN does not provide that. rude answered Jun 17, 2016 rude comment Share Follow See 1 comment See all 1 1 comment reply sandeep007734 commented Apr 27, 2017 reply Follow Share Loved the explanation. 7 votes 7 votes Please log in or register to add a comment.
4 votes 4 votes Answer : Lisp Lisp is especially notable as both the first functional programming language and the first language to introduce garbage collection. shekhar chauhan answered Jun 10, 2016 • edited Jun 12, 2016 by shekhar chauhan shekhar chauhan comment Share Follow See all 6 Comments See all 6 6 Comments reply Show 3 previous comments shekhar chauhan commented Jun 12, 2016 reply Follow Share I have corrected my answer... 1 votes 1 votes dhairya commented Jun 14, 2016 reply Follow Share what is garbage collector..????? :'( 0 votes 0 votes Deepthi_ts commented Apr 25, 2017 reply Follow Share In computer science, garbage collection (GC) is a form of automatic memory management. The garbage collector, or just collector, attempts to reclaim garbage, or memory occupied by objects that are no longer in use by the program. Refrence :https://en.wikipedia.org/wiki/Garbage_collection_(computer_science) 1 votes 1 votes Please log in or register to add a comment.
0 votes 0 votes I guess the answer should be lisp. No doubt JAVA does provide automatic Garbage collection for sure. Traditional C/C++ Compilers do not support Garbage collection. The answer should be lisp. Devshree Dubey answered Jun 12, 2016 Devshree Dubey comment Share Follow See all 0 reply Please log in or register to add a comment.