answersLogoWhite

0

Why pointers are required?

Updated: 12/22/2022
User Avatar

Wiki User

18y ago

Best Answer

The most important use of pointers comes when we pass value by reference to any function. You do not need to create a second memory location as in pass by value. You can mofify the original variable by using its address.

User Avatar

Wiki User

18y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why pointers are required?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Why are header files not required when using far and near pointers?

In C programming, header files are required. It doesn't matter if you are using near pointers, far pointers, both, or neither -- you still need header files. There is no connection between the necessity of header files and the pointers' size.


What is the source code for attendance record system in c language using pointers functions arrays whichever required?

bmbmbvjmgjmgj


What is the purpose of passing parameters by pointers?

There are two ways to pass parameters to a method. 1) Pass by value 2) Pass by reference.(i.e. pass by pointers). For here, I would say, whenever you required to change the properties/value of the parameter by the method you called you should the approach (2). ie. pass by pointers.


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.


Pointers are replaced by what in java?

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


How do you get score 6?

3 two-pointers or 2 three-pointers


Can labs be trained as pointers?

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


If your dog is a pointers and shedding a lot is this normal?

Pointers shed like normal dogs


Can you use pointers in java?

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


How many three-pointers did LeBron James make?

he made about 130,000 three pointers