answersLogoWhite

0


Best Answer

A "pure object oriented language" is one where every thing in it is treated on a consistent basis as on object, including elementary data types such as an integer. Since C++ treats elementary objects differently than classes, it does not meet the formal definition as a "pure ...".

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

10y ago

C++ inherits from C and therefore inherits primitive data types such as int and char, which are strictly non-object oriented. Although C++ does allow some object-oriented semantics when constructing primitives, this is merely sugar-coating. Besides construction, primitive data types have absolutely no member methods associated with them and behave exactly as they did in C.

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

Object-oriented programming is possible in any language, but an object-oriented language is designed to support the paradigm. C is a procedural language, meaning that it defines several global procedures (called functions in the language's own terminology) which may invoke each other, and structs - named groups of dissimilarly typed variables. C has no specific support for object-oriented programming.

C++ is an object-oriented language based on C. In addition to C's procedural features, C++ provides classes, which are capable of containing properties (as C structs are) as well as methods (procedures declared as members of a class). An object is an instance of a class and works like a struct instance, except that it also has its class's methods attached to it. When an object's method is called, the object is available within the method as the 'this' keyword, which need not be declared.

Unlike C, C++ is designed around the idea of an "object" and is thus object-oriented.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

C language is not a program, and it isn't an object-oriented language either.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How is the C programming language not object-oriented?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

When was C - programming language - created?

C - programming language - was created in 1972.


What programming language is Android written in?

Android is programmed in the C and C++ programming language.


What do you mean by c language?

C is a programming language.


Name of object oriented programming language?

C++ is the name of a programming language.


Example of procedural programming language and object oriented programming language?

example of procedural programming are those programming language that have structure e.g basic,fortran,c++,c and pascal e.t.c


Websites to download c C programming language books?

Download 1000s of C C C++ Programming Language. http://www.guruengineers.com


Who are the ancestors of C programming language?

programming languages B and BCPL which was used to derive C


Why is programming language named C and not simply C?

I am guessing you typed the question wrong, the way I understand your question is "Why is the programming language named C++ and not C ? " The answer to this is that there is a programming language called C, and in that programming language the ++ means increment by one. So C++ is the language C improved, as such it can read and compile all C programs in addition to having other features that C does not have.


What is a programming language and with three example?

A programming language is a language in which a human can tell a machine to do something, three examples include: C, C++ and C#.


What programming language is PHP made with?

PHP is written in the C programming language.


What is the C language used for?

Programming.


What programming language is similar to C?

c++