Question
When using C++. Please answer ASAP, thanks
nna Sce wnat rs the eterene oparator wny you shou ld onasc
0 0
Add a comment Improve this question Transcribed image text
Answer #1

A pointer is a variable which is use to store the address of another variable.

e.g,

int *var1,var2;

var1 = &var2;

Pointers are used program to access the memory and manipulate the address.

in the example you can change the value of var2 since manipulation is done direcly on the memory of var2.

In computer programming, a dereference operator, also known as an indirection operator, operates on a pointer variable, and returns the location-value, or l-value that it points to in memory. In the C programming language, the deference operator is denoted with an asterisk (*).

In linkedlist you can create infinite list(or node) using pointer, because pointer help to dynamically allocate memory at run time.

Add a comment
Know the answer?
Add Answer to:
When using C++. Please answer ASAP, thanks nna Sce wnat rs the eterene oparator wny you...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT