what isthe difference between c structure and c++ class
Answers were Sorted based on User's Feedback
Answer / harshad khedekar
c does not allow struct data type to be treated like built-in datatype also it does not supports data hiding concept.in c++ instead of struct we have class which overcomes all the above limitations.
| Is This Answer Correct ? | 12 Yes | 0 No |
Answer / jeremiah
The default scope of a C struct is public, whearas the
default scope of a C++ class is private.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / amarnath
Construtor is not in c strut and present in c++ class
| Is This Answer Correct ? | 4 Yes | 3 No |
Answer / a.sivasakthi
c structure are only define the data and data types
C++ class are define the data and solve the function the
both process are solved to the c++ class
| Is This Answer Correct ? | 0 Yes | 4 No |
What is an orthogonal base class?
difference between overloading and overridding
Is following functions are said to be overloaded? int add(int a,int b) char *add(int a,int b)
What is differance between Abstract and Interface
Example for 4 pillar of oops like, Inheritance,Poly,Abstraction,Encabsulation ?
who is the father of OPPS
What is late bound function call and early bound function call? Differentiate.
The IT giant Tirnop has recently crossed a head count of 150000 and earnings of $7 billion. As one of the forerunners in the technology front, Tirnop continues to lead the way in products and services in India. At Tirnop, all programmers are equal in every respect. They receive identical salaries and also write code at the same rate. Suppose 14 such programmers take 14 minutes to write 14 lines of code in total. How long will in take 5 programmers to write 5 lines of code in total ?
What is constructor overloading in oop?
what is difference between String s=new String("vali"); String s="vali"
In which cases you use override and new base?
Definition of Object Oriented Programming in single line?
33 Answers Impact Systems, Q3 Technologies, TCS,