answersLogoWhite

0

A universal pointer is a pointer variable that does not specify the type being pointed at. That is, it can be used to store any memory address regardless of the type of object actually stored at that address. It can be likened to a variable type, but you cannot dereference the memory address without providing some mechanism for determining the actual type stored at that memory address. Generally you would use a universal pointer when you don't actually care what type resides at the address, you are only interested in the address itself. But just as a typed pointer can point to 0 (or NULL), so can a universal pointer, which simply means it points at nothing at all.

User Avatar

Martina Kuhic

Lvl 10
3y ago

What else can I help you with?

Related Questions

What are void pointers?

They are pointers without type


Where the pointers are used?

POINTERS ARE USED TO STORE ADDRESS


What are the background pointers in java?

Java does not support pointers.


How do you get score 6?

3 two-pointers or 2 three-pointers


Pointers are replaced by what in java?

Nothing. Java does not have a concept that is equivalent to Pointers.


What are the uses of dummy pointer in universal testing machine?

In a Universal Testing Machine (UTM), dummy pointers serve several purposes, including facilitating the calibration of the machine by providing reference points for measurements. They help in ensuring accurate load application and displacement readings by compensating for potential errors in the testing setup. Additionally, dummy pointers can be used to simulate real materials or conditions during tests, allowing for more versatile testing scenarios. Overall, they enhance the precision and reliability of test results.


Why laser mouse are used?

Because the laser pointers are much easier to use than the ball pointers. The ball pointers are often difficult to move around while the laser pointers can move in any direction without "getting stuck"


Can you use pointers in java?

Java does not support Pointers and hence you cannot use it in Java.


Can labs be trained as pointers?

Yes, some labs are trained as pointers, and some as retrievers.


How many three-pointers did LeBron James make?

he made about 130,000 three pointers


Which are the possibe arithmetic operation with pointers?

Pointers in C are stored as integers. You can perform any mathematical operations on pointers that you can perform on ints.Of course not, the following operations are possible: =, +, +=, ++, -, -=, --, *, [], ->, typecast


How pointers are used in java?

They aren't. Java uses the (safer) idea of references instead of pointers.