Why do you want to switch it off? If you need to keep an object in memory, then assign it to a global variable that can keep it in reference. Disabling reference counting is a sure fire way to have serious memory leaks...
FWIW, I designed and built a reference counting garbage collection suite for C++ that allowed us to have 10M lince of application code, and zero deletes (at the application level), yet no memory leaks. It is a subject I have spent considerable time on research and development.
i am a student of diploma in electronics and telecomm
can anyone suggest me projects related to the below domains:-
electrical and electronics