AF
HomeTagSubmit NotesAsk AnythingLoginSubscribe Us
AF
1. Feel Free to ask and submit anything on Anyforum.in and get satisfactory answer
2. Registration is not compulsory, you can directly login via google or facebook
3. Our Experts are looking for yours ?.



programming-basics: what is difference among size,length and capacity in programming?

i need to know the exact difference between these according to programming language with example.

programming x 168
basics x 170
Posted On : 2014-08-30 01:14:16.0
profile Saksham Kumar - anyforum.in Saksham Kumar
72933916624
up-rate
4
down-rate

Answers


when something can be determined by telling distance from start to end point of something as in array, use the word called "length".

the word "size" is used where you look at measure of the number of element in something which is may or may not in location of successive memory. and you can not find out how many there by measuring distance.

The term "capacity" is used where you are told how much something can hold and at the moment how much it´s holding.

Posted On : 2014-08-30 01:39:33
Satisfied : 1 Yes  0 No
profile Rishi Kumar - anyforum.in Rishi Kumar
523188222140
Reply This Thread
up-rate
3
down-rate



Post Answer
Please Login First to Post Answer: Login login with facebook - anyforum.in