What is the difference between class and structure?
Answer Posted / guest
structure is a value type class is reference type,
struct Memory will be on stack and class Memory stored on
Heap,
struct not suports inheritance and class can?
| Is This Answer Correct ? | 18 Yes | 2 No |
Post New Answer View All Answers
What is the important feature of inheritance?
Write a program to sort the number with different sorts in one program ??
Is react oop?
Write a program to reverse a string using recursive function?
What is multilevel inheritance explain with example?
What is abstraction in oop with example?
Which language is not a true object oriented programming language?
What is for loop and its syntax?
Whats is abstraction in oops?
What do you mean by abstraction?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
What is stream in oop?
What is the purpose of polymorphism?
What is interface? When and where is it used?
What are the data types in oop?