Ask Your Question
0

What is a pointer in C++?

asked 2023-04-03 11:00:00 +0000

qstack gravatar image

updated 2023-04-07 22:44:04 +0000

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-04-03 11:00:00 +0000

qstack gravatar image

In C++, a pointer is a variable that holds the memory address of another variable. Pointers allow direct manipulation of memory, which can be useful in a variety of applications such as dynamic memory allocation, passing arguments by reference, and building complex data structures like linked lists and trees.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-04-03 11:00:00 +0000

Seen: 14 times

Last updated: Apr 03 '23