computer science C++ Which of the following operators cannot he overloaded? A. *
ID: 3862212 • Letter: C
Question
computer science C++
Which of the following operators cannot he overloaded? A. *, the multiplication operator B. >>, the input operator C)::, the scope resolution operator D) All of the above can be overloaded. The number of children that a node in a binary tree may have is: A. 0 B. 1 C. 2 D. A node in a binary tree may have between 0 to 2 children. When printing a binary tree using a pre order traversal the first node to be printed is: A. The root node B. The leftmost leaf node C. The rightmost leaf node D. None of the above. When printing a binary tree using a in order traversal the first node to be printed is; The root node The leftmost leaf node The rightmost leaf node None of the above. To write a friend function you include the keyword friend in both the function prototype and the function header. True False Inheritence is the term for defining a new class based on an existing class by adding data or operations or overloading existing operations in the class. True False The keyword protected when used in the definition of a class means that the data members and methods declared to be protected is only available the class itself and any of its derived classes. True False A friend function is a member function. True False Overloading operators allows tine programmer to redefine the behavior of existing operators to work with programmer-designed types. True FalseExplanation / Answer
1)Ans)c
:: scope resolution operator
2)Ans)D
3)Ans)A
4)Ans)The leftmost leaf node
5)Ans)False
Just we need to write at the function prototype .No need to write during implementation.
6)Ans)True
In sub classes we can extend the available features or overload the existing features in Inheritance
7)Ans)True
protected members are available to the same class and its subclasses
8)Ans)False
But they can access all private and protected members of a class
9)Ans)True
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.