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

During the early part of the 1800’s, American Presidents had tried to buy Texas. true or false
A car travels in 65 miles per hour.Going through construction,it travels at 3/5 this speed.Write this fraction as a decimal and find the speed
"Do you know the name of the most famous peanut farmer in Georgia?" Is this sentence a Imperative, Exclamatory, Declarative, Interrogative?
Karen wakes up at 6:00 am. It takes her 1 and 1/4 hours to get dressed and comb her. It takes her 1/2 hours to eat breakfast and brush her teeth and make her be
how can something be considered abiotic and biotic
An aluminum engine block has a volume of 4.77 L and a mass of 12.88 kg. what is the density of the aluminum in grams per cubic centimeter
How do you calculate the TOTAL magnification of your objective lenses?
During the early part of the 1800’s, American Presidents had tried to buy Texas. true or false
how do you round to the nearest whole number? 3.1
HEEELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ME WITH THIS QUESTION!!! Translate the sentence into an equation.   Seven times the differe