answersLogoWhite

0

Can you create class in 'c'?

User Avatar

Anonymous

15y ago
Updated: 8/18/2019

Class acts as an encapsulation of attributes and methods, that is used by an object oriented programming (OOP) language. Since C is not an OOP, its a structural programming language, one can not create classes in C. That is why OOP version of C was developed called C++, where one can work with classes.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How do you create a class in C plus plus?

class class_name { private: data_members; public: member_functions; };


How do you write classes and objects for hospital management software using objective c or c plus plus?

You declare a class as follows: class MyClass { //some stuff here... } You create an object as follows: MyClass object; This is how you create classes and objects in C++.


How do you create object name for child class in c?

child a=new child();


How can you store Class properties in Array in c?

Yes, you can create array that will store class properties. But all of them have to be of the same type.


Is it possible to create 9 subnets of equal size or do you have to create a different number of subnets?

Depending on class of network you are planning to use. For class C you can create much more then that (and for the most case for others too).


What is message passing in c plus plus?

-define class with necessary data member & member function. -create object of that class. -communication.


Is reader class is an abstract class?

For Java: Yes, Reader is an abstract class in package of java.io; For C#: No, Reader is NOT one of the defined library classes. Of course you create one.


What class address is 192.168.1.21?

Class C.


Why class is not protected in c?

In C#, the concept of protected is to be accessible to derived classes.Let's assume that a class can be modified as protected. When you want to subclass from such class, wait, you cannot see that class, because only the derived classes can see it, but the one you want to create is not one of them (yet).... I think this is the reason a class cannot have protected accessibility


How many bits are borrowed from a Class C host address to create 6 new sub-nets?

20


RF amplifier of an AM receiver is normally biased in class a class b class c?

class C because Class C also provides better signal,rejects unwanted signal.class c


How constructor called?

You cannot invoke a constructor explicitly. It will get invoked implicitly when you call the new keyword on the class to create an object of the class. Ex: private ClassExample obj = new ClassExample(); here this new keyword usage on the ClassExample class will invoke the constructor of this class and create an object of that class.