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...

Microsoft's free cloud storage provided to all Microsoft account holders is called ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

You created a live caption, but instead of displaying the image title, the caption text frame includes . How do you fix this problem?

What will be an ideal response?

Computer Science & Information Technology