Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
AJAX
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
general knowledge
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 


How a pointer stores values of an object
Question Posted on 25 Sep 2011

Home >> 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



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


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






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |