GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Placement Papers  >  TCS  >  Aptitude
Go To First  |  Previous Question  |  Next Question 
 Aptitude  |  Question 117 of 145    Print  
Address of array
In a two-dimensional array, X (9, 7), with each element occupying 4 bytes of memory, with the address of the first element X (1, 1) is 3000, find the address of X (8, 5).


  
Total Answers and Comments: 2 Last Update: May 21, 2008     Asked by: swatirose88 
  
 Sponsored Links



 
 Best Rated Answer
Submitted by: dinesh_sun7
 
the answer in 3188 since 8,5 is the 54th location in the array and each bytes occupying 4 bytes it will be in the starting addres 3000+188=3188 ok?

Above answer was rated as good by the following members:
rajani_vaddepalli15
May 21, 2008 01:17:38   #1  
dinesh_sun7 Member Since: May 2008   Contribution: 4    

RE: Address of array
the answer in 3188 since 8,5 is the 54th location in the array and each bytes occupying 4 bytes it will be in the starting addres 3000+188=3188 ok?
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
May 21, 2008 10:50:55   #2  
SpandanaMohan Member Since: January 2008   Contribution: 12    

RE: Address of array
Since the address starts at 3000 and allocating 4 bytes to each location, i guess the address of X(8,5) will be 3212...correct??
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    

 Related Questions

4.In two dimensional array X(7,9) each element occupies 2 bytes of memory.If the address of first element X(1,1)is 1258 then what will be the address of the element X(5,8) ? whats the ans
Read Answers (7) | Asked by : pavan

One circular array is given(means memory allocation tales place in circular fashion) diamension(9X7) and sarting add. is 3000,What is the address od (2,3)........ What is the answer? Pls explain to me with steps
Read Answers (1) | Asked by : Hari

In a two-dimensional array, X (9, 7), with each element occupying 4 bytes of memory, with the address of the first element X (1, 1) is 3000, find the address of X (8, 5).  
Latest Answer : Since the address starts at 3000 and allocating 4 bytes to each location, i guess the address of X(8,5) will be 3212...correct?? ...


 Sponsored Links



 
Related Articles

Base Address of the String

What happens when we try to change the value of base address of the string? The base address of the sting takes a special place in the context of strings. This is because suing this base address only the string gets identified. In other words the base address therefore takes the position of constant
 

JavaScript Array Operations

JavaScript Array Operations In this JavaScript tutorial you will learn about different operations with array in JavaScript how to use the for in statement Combining Operations between arrays and within elements of an array joining two or more arrays and joining elements of an arrays along with synta
 

JavaScript Array Object Methods – Part II

JavaScript Array Object Methods Part II In this JavaScript tutorial you will learn about on array object methods slice splice toString shift and unshift methods along with general syntax and examples mosgoogle center slice By using the methods of the array object the programmer is able to retriev
 

JavaScript Array Object Methods – Part I

JavaScript Array Object Methods Part I In this JavaScript tutorial you will learn about Array Object Methods concat join pop push and reverse methods  along with general syntax and examples mosgoogle center concat The concat method is used to join two or more Array objects together to pro
 

JavaScript Array Object

JavaScript Array Object In this JavaScript tutorial you will learn about JavaScript Array Object its properties and methods mosgoogle center Usage of the Array Object The Array object is used to store a set of values in a single variable name There are many operations involved with Array object De
 

Sponsored Links

 
Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape