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

A little help please, I'm lost.
A small submarine starts at –1,260 feet in relation to sea level. Then it descends 5 feet per minute for 12 minutes. What integer represents the rate of motion
What does a Complaint letter full Block-style look like?
A company is required to have material data safety sheets for what types of materials?
Which expression is a trinomial? A. x + y – 13 B. 4xyz C. 4x^3 D. x^3 - 3x^2 + 7x + 5 I think it's A. but I'm not sure.
If a car changes its velocity from 32 km/hr to 54 km/hr in 8.0 seconds, what is its acceleration?
17,17,16,18,23 what is the outerlier
On our first quiz Juan scored 82. Use a compound inequality to show the possible score x he got on his second test, if the average is strictly between 74 and 80
Amanda prepared a short slide presentation to show results from a company-wide survey. She read directly from her slides word-for-word and did not include any g
I'll give you the brainiest sticker !