menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Register
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
C++ Is there any difference between Class and Structure? Prove with the help of example.
asked
Apr 14, 2022
92.5k
views
4
votes
C++
Is there any difference between Class and Structure? Prove with the help of example.
Computers and Technology
college
Sindhu S
asked
by
Sindhu S
5.0k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
2
Answers
5
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.
Josh Beam
answered
Apr 14, 2022
by
Josh Beam
3.9k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
3
votes
Answer:
5555
Step-by-step explanation:
Cyborg
answered
Apr 18, 2022
by
Cyborg
5.0k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
5.2m
questions
6.8m
answers
Other Questions
Why is it important to study in a quiet well lit area A can you read it out loud and not bother anyone B you can focus on your studying without distractions C reading books in a dark too Will strain your
What is the first step you would take to create a table of authorities?
In Java a final class must be sub-classed before it. ?? True ?? False
To apply a style to a paragraph, the first step is to position the insertion point in the paragraph. True or False
What machine listens for HTTP requests to come in to a website’s domain?
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org