answersLogoWhite

0

A pointer is a variable whose value is the address to another variable. Pointers are most commonly used to dynamically allocate memory off of the heap instead of defining all of your variables at compile-time.

User Avatar

Wiki User

11y ago

What else can I help you with?

Related Questions

What is 'this pointer' in regards to computer programming?

It is a pointer which is pointing to present object with which the memberfunction is called in c++ language.


Does a computer mouse appear as a pointer or marker?

Pointer


What is the pointer on the computer screen?

cursor


What is far pointer in c language?

its pointer created for high safety that cant be find by anyone.


In which language pointer concept is not used?

Java


Why does is used as a pointers in c language?

Let's suppose, you wanted to ask:Why thisis used as a pointer in C++ language? Because it is a pointer to the 'current object'.


Why pointer can't be added in computer language C?

You can add a point in C/C++. The legal operations on a pointer are that you can 1.) add a constant, 2.) subtract a constant, and 3.) subtract two pointers that refer to the same array. Anything else is meaningless.


Why does array index start with zero in C language?

Because of pointers and that all arrays are really pointers. A pointer something like *pointer can also be written as pointer[0] and *(pointer + 1) can also be written as pointer[1]


When would you use a pointer and a reference variable?

pointer: to access data by address reference: there is no reference in C language


What is a pointer on the computer screen?

A Curser, Maybe .. ?


What are the kinds of mouse pointer?

kinds of computer mouse?


What is pointers in oop?

A pointer is a programming language data type whose value refers directly to (or "points to") another value stored elsewhere in the computer memory using its address.