Difference between Class and Struct.

Answer Posted / frozan maqsoodi

the main difference is the default access specifier.
constructors can be declared in structures. try it, you
will get the answer.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When should a type cast not be used?

620


Why dont c comments nest?

613


What is a method in c?

619


What is the meaning of c in c language?

592


Explain how can I open a file so that other programs can update it at the same time?

586






Explain void pointer?

585


Write a code to generate a series where the next element is the sum of last k terms.

726


What are the application of c?

637


WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER

1455


What is string length in c?

600


What does #pragma once mean?

679


Can we assign string to char pointer?

580


hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell

1661


a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none

624


Why is python slower than c?

595