menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Register
Ask a Question
Questions
Tags
Categories
Ask a Question
C++ Is there any difference between Class and Structure? Prove with the help of example.
Behzad Pirvali
asked
Mar 20, 2022
269,638
views
11
votes
11
votes
C++
Is there any difference between Class and Structure? Prove with the help of example.
Computers and Technology
college
Behzad Pirvali
asked
Mar 20, 2022
by
Behzad Pirvali
2.5k
points
answer
comment
share this
share
0 Comments
Your comment on this question:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Add comment
Cancel
Your answer
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Add answer
Cancel
2
Answers
20
votes
20
votes
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.
Arosboro
answered
Mar 22, 2022
by
Arosboro
3.6k
points
ask related question
comment
share this
0 Comments
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Add comment
Cancel
7
votes
7
votes
Answer:
5555
Step-by-step explanation:
Ixodid
answered
Mar 25, 2022
by
Ixodid
3.0k
points
ask related question
comment
share this
0 Comments
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Add comment
Cancel
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
1.6m
questions
2.0m
answers
Other Questions
Price of Tether coin right now? Don't answer if u don't know.
How many pokemon games have you all played i've played 14
Each box on a spreadsheet is called a? row column cell box
Genres are useful for many reaseons. What are some explanations you can think of for how genres can be useful to players, game designers, and game publishers? this if for a video game design class worth
There are 2048bytes in4megabytes true or false
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org