Computer Science - Object Oriented Programming Using C++

6.
You have assigned the address of Value to the pointer P, Which statement will display the value stored in Value?
cout<<P;
cout<<*Value;
cout<<&P;
cout<<*P;
Answer: Option
Explanation:
No answer description is available. Let's discuss.

7.
A constructor initialization list is preceded by
a. semicolon
a colon
two colons
a space
Answer: Option
Explanation:
No answer description is available. Let's discuss.

8.
In C++, a function contained within a class is called
a member function
an operator
a class function
a method
Answer: Option
Explanation:
No answer description is available. Let's discuss.

9.
Which of the following statements will create and initialize a feelnfo array named fee?
fee feeInfo = {{0}, {0}};
fee as feeInfo = 0, 0;
feeInfo fee = 0, 0;
feeInfo fee = [{0}, {0}];
feeInfo fee = {0,0};
Answer: Option
Explanation:
No answer description is available. Let's discuss.

10.
Which of the following is the scope resolution operator?
->>
::
*
&
Answer: Option
Explanation:
No answer description is available. Let's discuss.