what is the difference between class and structure in C++?

Answer Posted / pradeepramagiri

class members have the privite access by default where as
structure members have the public access by default

Is This Answer Correct ?    34 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what's the basic's in dot net

1897


write a program to find 2^n+1 ?

1756


What polymorphism means?

791


What does enum stand for?

831


What is a class in oop?

753






What is oops in simple words?

787


what is different between oops and c++

2158


How to improve object oriented design skills?

732


Which is not an object oriented programming language?

704


What is class and example?

777


What are the 3 pillars of oop?

823


What is destructor in oop?

778


What is difference between class and object with example?

778


What is the advantage of oop over procedural language?

821


What is coupling in oops?

795