Correct Answer: Structs have public privacy by default, classes use private.
Explanation:
Note: This Question is unanswered, help us to find answer for this one
C++ Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More C++ MCQ Questions
What is the size of the character array which would hold the value 'Helloo'?
In C++, what is the difference between these two declarations: void foo(); void foo(void);
Which rules apply to operator overloading in C++?
Which class(es) can be used to perform both input and output on files in C++?
What is the data type for the following: L'Hello World'?
What is the difference between a public and a private class member?
What is the output of this code? printf("1/2 = %f",(float)(1/2));
What is the output of this code? int c=3; char d='A'; std::printf("c is %d and d is %c",c,d);
What is true about the variable named ptr? void *ptr;
What is the meaning of the three sections specified between parentheses in a for loop separated by semicolons?