what isthe difference between c structure and c++ class

Answer Posted / amarnath

Construtor is not in c strut and present in c++ class

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

2. Give the different notations for the class.\

1576


what type of question are asked in thoughtworks pair programming round ?

1749


Write a program to reverse a string using recursive function?

1782


Can an interface inherit a class?

549


How long to learn object oriented programming?

553






What are functions in oop?

574


write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory

2748


What is class in oop with example?

608


What is meant by oops concept?

600


What is polymorphism used for?

561


Can you explain polymorphism?

572


What is the highest level of cohesion?

565


Describe these concepts: Polymorphism, Inheritance and Abstraction.

601


What is difference between abstraction and encapsulation?

582


What is object and example?

593