crackyourinterview.com


To improves our performance please Like Share Subscribe(Will boost us)

How a pointer stores values of an object
Question Posted on 25 Sep 2011Home >> OOPS >> oops questions >> How a pointer stores values of an object

We can say that pointer is a variable which is used to stores address of other variable.The technic pointer is used is so simple pointer only stores the first byte of address and then we can find upcoming bytes according to the size of the variable.To understand this we take is example:-
For example if a variable of integer type is being accessed by a pointer. So the pointer will only store the first byte of the address and as integer datatype takes two bytes memory the next byte of address location can be find out by adding 1 to the first byte of the address.
0
0



.


Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...




Other Important Questions

Datatype of pointer and how to handle it in 32,64 bit computer

How a pointer stores values of an object

difference in between abstrct classes and interfaces






@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap