Which of the following is true about classes and structs?
A. By default, all members of a struct are public and all members of a class are private.
B. A struct variable is passed by value only, and a class variable is passed by reference only.
C. An assignment operator is allowed on class variables, but not on struct variables.
D. You cannot use the member access specifier private in a struct.
Answer: A
Computer Science & Information Technology
You might also like to view...
To perform a drag action, the user clicks and holds the right mouse button down over an icon
Indicate whether the statement is true or false
Computer Science & Information Technology
In the SharePoint Newsfeed, ________ people or sites subscribes you to updates and postings in your newsfeed related to those items
Fill in the blank(s) with correct word
Computer Science & Information Technology