98.6k views
5 votes
Member function definitions: ______________.a. Always require the binary scope operator (::)b. Require the binary scope operator only when being defined outside of the definition of their class c. Can use the binary scope operator anywhere, but become public functions d. Must use the binary scope operator in their function prototype

1 Answer

2 votes

Answer:

Option (B) is the correct answer to the following questions.

Step-by-step explanation:

The following option is correct because the binary scope operator is used to define the global variable only when the local variable has also the same name and we want to use global variable also or we also use scope operate when we do not want to use any function inside the class.

The following option (A) is wrong because we not always required binary scope operator and the option (C) is wrong because we cannot use the scope operator anywhere and the option (d) is already wrong because that binary scope operator would not be used in the function prototype.

User Rachita Nanda
by
7.5k points

No related questions found