Multiple Choice
Given the following code namespace globalType
{
Void printResult() ;
}
Which of the following statements is needed to access printResult?
A) globalType.printResult() ;
B) globalType.printResult;
C) globalType::printResult() ;
D) globalType:printResult() ;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q3: In C++, namespace is a reserved word.
Q6: Which of the following statements declares the
Q7: Considering the statement string str = "Gone
Q13: The values in the domain of an
Q21: No arithmetic operations are allowed on the
Q30: An anonymous type can be passed as
Q38: Which of the following is a valid
Q43: Consider the following statements: string str =
Q45: Suppose str = "ABCDEFG".The output of the
Q50: Suppose str = "abcd"; After the statement