Which of the following is a self-referential object?

a. class SelfRefer
{
int * xPtr;
};
b. class selfRefer
{
selfRefer x;
};
c. class SelfRefer
{
SelfRefer * xPtr;
};
d. class SelfRefer1
{
SelfRefer2 x;
};
class SelfRefer2
{
SelfRefer1 x;
};


c. class SelfRefer
{
SelfRefer * xPtr;
};

Computer Science & Information Technology

You might also like to view...

An administrative scope is composed of multicast addresses intended to be used in a public network.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

? The full email address of the main recipient should be entered into the Cc line of a message header. 

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The ____ keeps a list of programs ready to run on the processor, and it selects the one that will execute next.

scheduler library task manager information manager

Computer Science & Information Technology

A(n) ____________________ path to a file starts from the root of the entire file system tree.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology