Why C or C++ Stack index starts from 0.

Questions by hrusi_dalai

Showing Answers 1 - 3 of 3 Answers

RAJEEV CHOPRA

  • Sep 8th, 2006
 

Any basic units of memory representation bit bite starts from 0.


A byte contains 8 bits starting from 0 to 7.


This is the idea of stack and array in C – C++ starts from 0.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions