Interview Question

Anonymous Interview(Student Candidate) Culver City, CA

What is the

difference between a Class in C and an Object in C++?

Interview Answer

2 Answers


C has no class- C is a functional programming language!!!!!

Jason Peng on Nov 11, 2012

I think you mean difference between class and object in C++, C is a low level language with no Class functionality (it does have struct however). A class is a collection of variables and functions for the purposes of OO programming. An object is an in stance of the class that can call its member functions and variables

Anonymous on Feb 13, 2013

Add Answers or Comments

To comment on this question, Sign In with Facebook or Sign Up