What are 'pointers'?

pointers exist in almost all programming languages and are used literally to 'point' to a particular piece of data. They contain the address in memory of the piece of data they point to. They are a useful way of referring to a variable or object without having to store the whole variable or object in memory, which is very important if they variable or object is particularly big. They can also be used to make sure you are referring to the variable you think you are when writing code, for example ensuring a function that takes this variable as a parameter does what you think it will. Pointers have many more uses, and while programming you will encounter more of these.

Answered by Mark P. Computing tutor

3502 Views

See similar Computing GCSE tutors

Related Computing GCSE answers

All answers ▸

What is the difference between a data structure and a data type?


Show how you would calculate 53 + 39 in 8-bit binary?


Convert 'A1' hexadecimal value into binary.


James would like to store a video clip that is 20 frames per second and has a duration of 76 seconds. The resolution of this video is 1280x720 with a colour depth of 24 bits. Calculate the storage requirement for the uncompressed video clip.


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

© MyTutorWeb Ltd 2013–2024

Terms & Conditions|Privacy Policy