Start typing & press "Enter" or "ESC" to close
Home
Jobs
Results
Current Affairs
GK
Online Test
HR Interview
BLOG
Which of the following is correct about class and structure?
Home
Computer Science & Engineering
C++ Programming Questions and Answers
OOPS Concepts
Discuss - 828
1.
Which of the following is correct about class and structure?
[A].
class can have member functions while structure cannot.
[B].
class data members are public by default while that of structure are private.
[C].
Pointer to structure or classes cannot be declared.
[D].
class data members are private by default while that of structure are public by default.
Answer:
Option
D
Explanation:
No answer description available for this question. Let us discuss.
Workspace
Report
Leave a
Comment
Name
*
Email
Your comment
*
Submit Comment
Computer Science & Engineering :: C++ Programming Questions and Answers : More Exercises
OOPS Concepts
References
Constructors and Destructors
Objects and Classes
Functions Overloading
Questions & Answers
Aptitude
Chemical Engineering
Civil Engineering
Computer Science & Engineering
Current Affairs
Data Interpretation
Electrical & Electronics Engineering
Electronics & Communication Engineering
General Knowledge
Logical Reasoning
Mechanical Engineering
Non Verbal Reasoning
Verbal Ability
Verbal Reasoning
Interviews
HR Interview
Jobs
Sarkari Jobs
Results
Rojgar Result
Sarkari Result
Admission
Admission 2023
Admit Card
Admit Card 2023
Answer Key
Answer Key 2023
Report
Name
Email
Message
Send message