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

 Print  |  
Question:  Address of array

Answer: 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).


May 05, 2008 01:17:38 #1
 dinesh_sun7 Testing Expert  Member Since: May 2008    Total Comments: 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?
     

 

Back To Question