You are here:

C/question in c

Advertisement


Question
is it possible to implement inheritance in c language?

Answer
It depends on how you look at and how you define inheritance.
In C++, there are classes and these classes have properties.
So, do you have something similar in C?
And C++ classes have access specifiers. This is not there in C.

So, you will have to think of some other innovative way to do this.

C

All Answers


Answers by Expert:


Ask Experts

Volunteer


Narendra

Expertise

I can answer questions in C related to programming, data structures, pointers and file manipulation. I use Solaris for doing C code and if you have questions related to C programming on Solaris, I will be able to help better.

Experience

6.5

Organizations belong to
Sun Microsystems

Awards and Honors
Brain Bench Certified Expert C programmer.
Advanced System Software Certified

©2012 About.com, a part of The New York Times Company. All rights reserved.