sign up I login
 advanced
» win an I-Phone. check i-points

Ask & Discuss Questions with Community & Experts

Moderation Team
 90 chars left    advanced
Ask iit jee aieee pet cbse icse state board community Community Discussion Question: array calculation
Forum Index -> Computer Science like the article? email it to a friend.  
Author Message
dave (21)

Cool goIITian

Olaaa!! Perrrfect answer. 3  [6 rates]

dave's Avatar

total posts: 63    
offline Offline
hey guys wat exactly is lower bound and upper bound?? hw do we use it in address calculation?
    
Ronaldooo (44)

Blazing goIITian

Olaaa!! Perrrfect answer. 4  [16 rates]

Ronaldooo's Avatar

total posts: 377    
offline Offline
Lower bound is the first element of the array.And upper bound is the last element.We  use it in calculation in rowmajor and columnmajor way of calculating base address.You want the formula???

Please watch the BPL match between ManUtd and Arsenal on Sunday at 5:55pm and support only ManUtd...for BPL lovers,update:ManUtd-2 Arsenal-1...
Viva Ronaldoooo
Viva Ronaldoooo
Viva Ronaldoooo
Running down the wing,
Hear United sing,
Viva Ronaldoooo.
-United supporters new chant!!!
Team Plyd Pts
United 32 76
Cls 32 71
Arse 32 70
Who are Liverpool?????
 this reply: 0 points  (with Olaaa!! Perrrfect answer.   in 0 votes )   [?]
 
You have to be logged on to rate
  
dave (21)

Cool goIITian

Olaaa!! Perrrfect answer. 3  [6 rates]

dave's Avatar

total posts: 63    
offline Offline
no as in im clear about what they are...i wanna kno that if suppose i have an array
A[15][20] and the address of A[3][4] is say 1500 and im supposed to calcluate the base address...then how do i use bounds in calculation??? is it necessary to substract 1  or wateva we do?
 this reply: 0 points  (with Olaaa!! Perrrfect answer.   in 0 votes )   [?]
 
You have to be logged on to rate
  
Ronaldooo (44)

Blazing goIITian

Olaaa!! Perrrfect answer. 4  [16 rates]

Ronaldooo's Avatar

total posts: 377    
offline Offline
In such cases,we have to assume that the lower bound is [0,0] unless its given in the question.

Please watch the BPL match between ManUtd and Arsenal on Sunday at 5:55pm and support only ManUtd...for BPL lovers,update:ManUtd-2 Arsenal-1...
Viva Ronaldoooo
Viva Ronaldoooo
Viva Ronaldoooo
Running down the wing,
Hear United sing,
Viva Ronaldoooo.
-United supporters new chant!!!
Team Plyd Pts
United 32 76
Cls 32 71
Arse 32 70
Who are Liverpool?????
 this reply: 0 points  (with Olaaa!! Perrrfect answer.   in 0 votes )   [?]
 
You have to be logged on to rate
  
dave (21)

Cool goIITian

Olaaa!! Perrrfect answer. 3  [6 rates]

dave's Avatar

total posts: 63    
offline Offline
thnx
 this reply: 0 points  (with Olaaa!! Perrrfect answer.   in 0 votes )   [?]
 
You have to be logged on to rate
  
 
Forum Index -> Computer Science
Go to:   

 Aakash Institute IIT/ AIEEE/ Medical Crash Course
Name  
E-mail  
Phone  
Mobile  
** Hurry. Exclusive goIIT Offer. Limited Seats Only!
available in: New Delhi, Amritsar, Bhatinda, Bokaro, Chandigarj, Dehradun, Guwhati, Hyderabad, Indore, Jaipur, Kanpur, Karnal, Kolkata, Kota, Lucknow, Ludhiana, Mumbai, Noida, Patiala, Patna, Pune, Ranchi, Varanasi
Top Offers for goIITians
Correspondence Courses
Brilliant Tutorials
Narayana Institute
Aakash Institute
Classroom/Crash Courses
Aakash-IITJEE : AIEEE
Aakash-IITJEE : DCE
Aakash-IITJEE : MHTCET
Aakash Institute : AIPMT
Online Test Series
Brilliant Tutorials
Narayana Institute
Aakash Institute
Mahesh Tutorials
AMITY      Sri Chaitanya