Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7913367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T13:49:36+00:00 2026-06-03T13:49:36+00:00

Is there any case or specific example where we would require pointers for the

  • 0

Is there any case or specific example where we would require pointers for the job?
i.e. could something that requires pointers be done without using them?
We could send pointers as a function parameter but that could be done with returned data. We can use pointers to change more than one variable in a function but there is a workaround for that too.

Do we actually need pointers?

I know it is a silly question, sorry,but under the circumstances seems correct to me
I just want to know if there is something we cannot do using pointers.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T13:49:37+00:00Added an answer on June 3, 2026 at 1:49 pm

    Pointers can be avoided in the design of a high-level language’s paradigms – take java for example – but they tend to show up again in actual practical implementations of the functionality the language claims to provide.

    Unless you are using some sort of dynamically reconfiguring FPGA architecture, colony of state machines or similar idea as your computer, actual computing machinery is not very object-oriented. We don’t perform operations in the storage device, instead we fetch data, do computations on it, and write it back. To find data in memory, we use the concept of an address (there are things called content-addressable memories, but for most purposes they are not preferable). Once you decide that your data (or function body, or struct containing both) is in memory at some address, you have to figure out how you are going to handle the address. You can write the address in yet another memory location and we have the most familiar concept of a pointer. You can store the address on the stack, but that’s just storage relative to a register called the “stack pointer”. Or you can store the address in a register or instruction word.

    But, if you look at the actual format of an instruction word, for non-trivial processors “registers” are actually numbered locations in special on-chip memory called the register file. The RISC tradition of numbering them makes this particular obvious, but it’s true even in assembly language schemes where registers are named – a MOV or whatever instruction will have a few bits that determine the type and format of instruction, and a few bits encoding the register number for each operand. Therefore, register indirect addressing is technically one memory location holding the address of another, which is to say a pointer. Similarly, the address of a data item which is directly encoded in an instruction word is also an example of one memory location (program memory containing the instruction word) referring to another where the data is actually kept.

    Conclusion: you can hide pointers from the high level programmer, but as long as your implementation is based on the

    (addressable data memory/register file) <-> CPU -<-> (addressable program memory)

    idea of computation, you cannot avoid them at the implementation level.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any solution to overcome case-sensitive problem for contains method. I have code
Is there any overhead using partial classes in case of memory, performance etc? If
Besides readability is there any significant benifit to using a CASE WHEN statement vs
In case of comma separation not working with swtich case. is there any way
Is their any cases in C++ Like these case WM_COMMAND: switch(LOWORD(wParam)) That happen when
Is there any way to get a delegate to run on a specific thread?
Is there any PHP PDF library that can replace placeholder variables in an existing
Is there any way to make a single View (in this case a TextView)
I would like to know if there is a non-artificial example, where mutual recursion
Is there any way to change the BackColor of the border of a panel

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.