Tell me the difference between the address stored in a pointer and the value at that address?

The address stored in the pointer is the address of another variable. The value stored at that address is any value stored in any variable. The indirection operator (*) returns the value stored at the address, which itself is stored in the pointer.

Briefly explain the difference between const int * ptr One and int * const ptr Two?

The const int * ptr One declares that ptr One is a pointer to a constant integer. The integer itself cannot be changed using this pointer. The int * const ptr Two declares that ptr Two is a constant pointer to integer. After it is initialized, this pointer cannot be reassigned.

can a derived class make a public base function private?

Yes, the derived class can override the method and make it private. It then remains private for all subsequent derivation. However, this should be avoided when possible, because users of our class will expect it to contain the sum of the methods provided by its ancestors

Tell me the use of enumerated data type ?

An enumerated data type is another user defined type which provides a way for attaching names to numbers thereby increasing comprehensibility of the code. The enum keyword automatically enumerates a list of words by assigning them values 0,1,2, and so on.

If a base class declares a function to be virtual, and a derived class does not use the term virtualwhen overriding that class, is it still virtual when inherited by a third-generation class?

Yes, the virtuality is inherited and cannot be turned off.

Why we use pointers if references are easier?

References cannot be NULL, and they cannot be reassigned. But Pointers offer greater flexibility but are slightly more difficult to use.

Which keyword will prevent some member data and functions from being used outside of the class?

The keyword is private. This keyword will prevent member data and functions from outside of the class.

How big is a class object?

A class object's size in memory is determined by the sum of the sizes of its member variables. Class functions don't take up room as part of the memory set aside for the object.

Some compilers align variables in memory in such a way that 2-byte variables actually consume somewhat more than 2 bytes.

Can we combine arrays ?

Yes We can, With the simple arrays we can use pointers to combine them into a new larger array.With srtings We can use some of the builtin functions such as strcat to combine strings.

Tell me what is in an uninitialized array element ?

That means An array element that has not been assigned a value. The value is whatever happens to be in memory at a given time. The results of using this member without assigning a value are unpredictable.