Is Pointer a variable in data structure?

Submitted by: Administrator
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.
Submitted by: Administrator

Read Online Data Structures Job Interview Questions And Answers