answersLogoWhite

0

What is the difference between classes and object in C?

Updated: 8/18/2019
User Avatar

Wiki User

13y ago

Best Answer

An object is an INSTANCE of a class.

Human is a class, while YOU are a person, an instance of Human class, but YOU do not represent the entire human class.

Or, a class provides the abstraction, and an object is a typical example of that abstraction. Classes provide a blue print to build a real instance of an object.

User Avatar

Wiki User

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

Wiki User

13y ago

Object is an instance of class.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between classes and object in C?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is diffence between c and c plus plus?

main difference b/w c and c++ is that c is procedural language whereas c++ is object oriented language also classes are not used in c but in c++ classes are used.


What is the difference between object and variable in c?

There is no objects in C.


Major difference between c and java?

Java is object oriented, C is not...


What is Difference between C structers and classes?

through classes we can create objects and we can implemented businessmathods. in case of structres we can create streuctre variables but not methods this is the major difference


What the difference between c and c plus plus?

The fundamental difference is that in C++ object-oriented programming (OOP) was added. C is a procedural language (that means. top-down structure design), where as C++, which is an extension of C itself, is an object oriented language.


Why c is object oriented programming languages?

C isn't an object oriented language... C++ is, because it has classes.


Difference between c and c plus plus?

Although the languages share common syntax they are very different in nature. C is a procedural language. When approaching a programming challenge the general method of solution is to break the task into successively smaller subtasks. This is known as top-down design. C++ is an object-oriented language. To solve a problem with C++ the first step is to design classes that are abstractions of physical objects. These classes contain both the state of the object, its members, and the capabilities of the object, its methods. After the classes are designed, a program is written that uses these classes to solve the task at hand. ++++++ C++ is a set of extensions to the C language to allow some (not all) principles of object-oriented programming to be used. Originally, C++ was a front end pre-processor for C and C++ compilers will translate C language functions.


What is the difference between a class method and object in object-oriented C?

Class methods are the member functions that act upon member variables. An object is an instance of a class. C does not support object-oriented programming, but C++ does.


What is c plus plus called object oriented programming language?

C++ is an extension of C; object-oriented capabilities - basically, the possibility of defining classes and of creating objects based on those classes - have been added to the original C.C++ is an extension of C; object-oriented capabilities - basically, the possibility of defining classes and of creating objects based on those classes - have been added to the original C.C++ is an extension of C; object-oriented capabilities - basically, the possibility of defining classes and of creating objects based on those classes - have been added to the original C.C++ is an extension of C; object-oriented capabilities - basically, the possibility of defining classes and of creating objects based on those classes - have been added to the original C.


Difference between java and C plus plus?

java is an advanced object oriented programming language than c++


Defference between c plus plus and c?

these are difference in between c and c++: a) C is a SPL and C++ is a OOP. b) C has not concept of object but C++ has this feature. c) C has not 'class' name data type but C++ has.


Main deffrent between c and cpp?

C is a procedural programming language, while C++ is a multi-paradigm programming language that supports both procedural and object-oriented programming. C++ has additional features such as classes, inheritance, and polymorphism that allow for more flexible and modular code design compared to C.