Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7927535
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T19:21:12+00:00 2026-06-03T19:21:12+00:00

oop features class: but there is structure and union in c also operator overloading

  • 0

oop features

  1. class: but there is structure and union in c also
  2. operator overloading : we can write 0.1+3.4 or 1+3 or ‘a’+’b’ this is what , + operator working for integer,float,and for character addition, so it’s one kind of operator overloading?
  3. inheritance: in c when we include any file in another file using include like include<iostream.h> so we are including iostream file in another file by this we are achieving
    inheritance also in c.

    in short my question is for each and every object oriented question i m having some argument so can any one help me to clear all the object oriented features comparison with c language.

    c is not a object oriented language but my above arguments proving that, c is also object oriented language

    so i want to more pacific about object oriented features comparing with c language.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T19:21:17+00:00Added an answer on June 3, 2026 at 7:21 pm

    1 a class is much more then a union or a structure, a class can contains variables AND methods (code] neither a union or a structure can contain logic.

    1. operator overloading is not strictly a oo feature, java does not have operator overloading. your example is a limited overloading, you can not make structA + structB work in c

    2. there is a big difference between loading a library and inheritance. Inheritance allows you to create a sub type that has all the behaviors of the parent and then allows you to modify them or add some more features. You could do this in C but it would be much harder and very complicated

    Your understanding of OO concepts seems rather limited, I would read some basic OO tutorials to get the concepts.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Now I research OOP-part of Scheme. I can define class in Scheme like this:
OOP usually requires instantiation (creating an instance of class before using) like this: var
Perl has OOP features, but they are somewhat rarely used. How do you create
In OOP where there's classes and objects, I can use get_object_vars() to get a
I'm still trying to get a hang of Perl's OOP features. I'm confused about
I know that in OOP you want every object (from a class) to be
In OOP modeling, is there any distinction between a has-a relationship and a composed-of
I have created an OOP environment for WebGL so I can easily create all
I searched within Microsoft web site. But you know, there were lots of samples
I have been working with QT and I noticed that they took OOP to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.