What is the Difference between Class and Struct?
Answer Posted / vishnupriya
1.the variables of struct r jus varialbles inly,whereas it
it objects for class...
2. pointers can be used in structure only for same return
types,but in classes it can be uses for diff classes
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the correct code to have following output in c using nested for loop?
What are identifiers c?
What is nested structure with example?
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
What are the functions to open and close file in c language?
difference between object file and executable file
Which programming language is best for getting job 2020?
What is the purpose of ftell?
What does a function declared as pascal do differently?
Can a variable be both const and volatile?
Which one would you prefer - a macro or a function?
How are variables declared in c?
What are the main characteristics of c language describe the structure of ac program?
How to draw the flowchart for structure programs?
What is derived datatype in c?