| 1. |
Is Pointer A Variable? |
|
Answer» Yes, a pointer is a variable and can be used as an ELEMENT of a structure and as an ATTRIBUTE of a class in some programming LANGUAGES such as C++, but not Java. However, the contents of a pointer is a memory ADDRESS of another location of memory, which is usually the memory address of another variable, element of a structure, or attribute of a class. Yes, a pointer is a variable and can be used as an element of a structure and as an attribute of a class in some programming languages such as C++, but not Java. However, the contents of a pointer is a memory address of another location of memory, which is usually the memory address of another variable, element of a structure, or attribute of a class. |
|