InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
How a pointer stores values of an object |
|
Answer» We can say that pointer is a variable which is used to stores address of other variable.The TECHNIC pointer is used is so simple pointer only stores the first byte of address and then we can FIND upcoming BYTES according to the size of the variable.To understand this we TAKE is example:- |
|
| 2. |
difference in between abstrct classes and interfaces |
|
Answer» (1)Multiple inheritance |
|
| 3. |
Datatype of pointer and how to handle it in 32,64 bit computer |
|
Answer» We can say that Pointer can be of any datatype and is not RESTRICTED to the size of that particular datatype. Pointer is a contains 4byte VARIABLE of address in a 32 bit computer are of 4 byte length. So what about 64 bit computers? Well in 64 bit computers the pointer size will vary, but if we rum a 32 bit pointer in 64 bit system then we will FIND half of the pointer's field is empty LIKE 0x000000. |
|