answersLogoWhite

0

Why you use pointers?

User Avatar

Anonymous

15y ago
Updated: 8/16/2019

Because you can produce fast and efficient code. Function arguments are passed "by value", and so you can't change the original value of the argument, but if you use pointers, you can.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Can you use pointers in java?

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


Do you use pointers in java?

no


What are five safety pointers for use in electronic shop work?

safety pointers in electric shop


Why to use pointers in programs?

To use memory effectively. . .


Pointers are include in csharp or not?

Yes, you can use pointers in the C#, but to some extent. Links are added with more details.


What kind of drills do you use for three pointers two pointers and foul shots?

just keep shooting its not that hard


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"


What you use in case of pointer in java?

Java does not have pointers


What do you use to supplement your current testing methods with the ability to flag memory leaks and unassigned pointers you use?

I have no need to flag memory leaks or unassigned pointers because I eliminate all leaks at source by using resource handles, smart pointers and making proper use of RAII.


How many bytes does pointers use?

The size of pointers depends on the architecture of the system. On a 32-bit system, pointers typically use 4 bytes, while on a 64-bit system, they usually use 8 bytes. Additionally, certain embedded systems may use different sizes based on specific configurations.


What is the need to use pointers in C programming?

find the address


In C you use the concept of pointers whereas there are no pointers used in JAVA why?

Pointers in C are generally the thing that gives learners the most trouble. When C code is not written correctly with respect to pointer use, the resulting bugs can often be very difficult to find and correct. On the other hand, pointers are absolutely necessary in some cases.The designers of Java wanted to make programming easier and hence avoided adding pointers to the language. Java does have object references which accomplish much of what pointers accomplish albeit in a safer way.