answersLogoWhite

0


Best Answer

it doesnt support destructors

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Does c language really supports destructors?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the Similarities between c and .Net?

Many syntaxs are very similar in both the languages C and C# .NET. C++ supports Object Oriented Programming and .NET also supports that. Infact C++ is derived from C language and C# .NET is derived from C++ language.


Does c language support network programming?

The C language supports whatever functionality is provided by the applicable library, by the programmer, and by the input/output capabilities of the platform. Since a network programming library is available to the c compiler, then yes, the c language supports network programming.


When is a destructor called?

Destructors are called when an object is no longer used. In a language like C++, this is done explicitly by the programmer when the delete operator is used on the object.


Who is the author of C sharp language?

Anders Hejlsberg has created and supports C#. Visual C# was created by Microsoft but based on original.


Is destructor allowed in java?

No. Java does not support the concept of Destructors like C


Is c plus plus an object oriented language or an object based language?

C++ is object-oriented. It is not object-based because, like C before it, C++ supports the principal of primitive data types, which are not object-based.


Is C plus plus same as Microsoft Visual C plus plus Express Edition?

Your question request a comparison between apples and pears. C++ is a programming language. Microsoft Visual C++ Express is one of many development tools that you can use to create programs using the C++ programming language. Microsoft Visual C++ Express supports native C++ development, and supports development in 'managed C++,' a Microsoft-specific derivative of the C++ language, aimed specifically at the .NET platform.


Why server side programs cannot be written in C?

Server side programs can certainly be written in C. They can be written in any language that the environment supports.


Why is c structured programming language?

Because it supports the three basic programmic structure: sequence, selection, iteration.


In which Language is Linux written?

Linux supports any written language: it understands Unicode natively, so it can display the characters of any language with the appropriate locales included. As far as programming languages, Linux is written in C, but almost any language, from assembly to C to C++ to Python to Perl to .NET can be used on it.


Why c is called partially an OOP language?

C is not an OOP language, period. However, while C++ supports OOP it does not rely on it. With C++, you can mix procedural, structured and object-oriented principals by mixing C++ code with C-style code and even raw assembly routines, neither of which are object-oriented.


What do you mean by finalizer method?

In C++ you have object constructors and object destructors. Both are called by the developer. In Java and C# you have constructors and finalizer methods, so Java and C# both have support for finalizer methods (also known simply as finalizer). So the finalizer methods are similar to the destructors of C++ with a very important twist, the finalizer method is called by the garbage collector when an object is freed and not by the programmer (like the destructors in C++). Both finalizers in Java, C# and destructors in C++ can be used to free resources such as sockets or file handles that the method is using. However, because the finalizer methods are called by the garbage collector the programmer has no control of when the finalizer method will be called. As such it is NOT A GOOD IDEA to use finalizer methods. One can write the methods of an object in such a way as to clean up after themselves.