ammadahmad
ammadahmad ammadahmad
  • 13-04-2021
  • Computers and Technology
contestada

C++
Is there any difference between Class and Structure? Prove with the help of example.

Respuesta :

lilfango
lilfango lilfango
  • 13-04-2021

Answer:

5555

Explanation:

Answer Link
giorgianairina18 giorgianairina18
  • 13-04-2021
The class is reference type (it is a pointer and is assigned on the heap), structure and value type (and is allocated on the stack). The difference is important in terms of memory management.
Answer Link

Otras preguntas

HELP ASAP PLSS will mark brainliest
what number is 15% of 60
A minority of southern whites owned slaves, and A. Non slaveholders held most political power B. Slavery had little impact on the lives of most whites C The r
what graph is the graph of y ≥ 1 - 3x?
Find the unit rate $8.25 for 5 cupcakes
What percent of 70 is 15?
When 2,000 pounds of paper are recycled or reused, 17 trees are saved. How many trees are saved if 5,000 pounds of paper is recycled? How many trees are saved
Write a paragraph explaining info about a famous singers life and growing up and make sure you include who they are. The choices are listed below. Each GOOD ans
What is a rock that forms when pressure, temperature, or chemical processes change an exisisting rock
If a spoonful of sugar is mixed in a glass of water, what is the water called? A) Solute B) Solvent C) Solution D) Element