A Pointer is a Variable.

Skill/Topic: Variables and Pointers
A) False
B) True
Explanation: 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.

Showing Answers 1 - 2 of 2 Answers

samiksc

  • Jan 19th, 2006
 

Yes in the languages which support use of pointers, a pointer is a variable used to hold address of a memory location.

  Was this answer useful?  Yes

warisha

  • Mar 18th, 2006
 

yeh, we can call pointer as a variable .it is used in some languages which supports its use.the datatype of pointer is of ptr,and not of datatype of the variable to which it is pointing.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions