What is the difference between Class and Structure?

Answer Posted / hardik savani

The Structure ara used in c and c++
but class is used only in c++ and other opps languages

Is This Answer Correct ?    23 Yes 33 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are stacks? Give an example where they are useful.

594


Describe the advantages of operator overloading?

577


What is difference between rand () and srand ()?

596


Is oops and c++ same?

581


Explain differences between new() and delete()?

624






Write a program which employs Recursion

738


What are references in c++?

668


Should I learn c++ c?

622


How one would use switch in a program?

618


What is the error in the code below and how should it be corrected?

313


Can we use clrscr in c++?

536


What is the array and initializing arrays in c++?

512


What is exception handling? Does c++ support exception handling?

593


How is objective c different from c++?

796


What is an undefined behavior and sequence points

571