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

What is a reflex? I am in k12 so I need the k12 answer please hurry VERY URGENT will give brainlist to first to answer.
Can somebody help me I had surgery Friday and miss the test
Despite being very different, unicellular and multicellular organisms have many of the same functions. Which function is shared in both types of organism? A. al
What is the molecular formula of a compound that is composed of 94.1% O and 5.9% H with a molar mass of 34g
ummmmm help me out plzzzzzz
Write an equation in slope-intercept form of the line that passes through (0,6) and (3, -3). Please help :(
Hello! :) Please help me answer this question ! And explain how you answers it. I will give brainslt :) I
Whoever answers this question correctly will get a 5.0 rating, thanks, and a brainlyist. The question is on the screenshot. RULE 1: Do not answer just for point
Can someone help me with B?
can yall help me wit this?