---
title: "Why Array Index starts from Zero?"  
description: "Why Array Index starts from Zero?"  
author: "James Smith"  
published: 2011-07-23  
updated: 2020-09-23  
canonical: https://www.mindstick.com/interview/1100/why-array-index-starts-from-zero  
category: "visual c++"  
tags: ["visual c++"]  
reading_time: 1 minute  

---

# Why Array Index starts from Zero?

This boils down to the concept of Binary digits. Take an array size of 64 for example. We start from 0 and end at 63. We require 6 bits.But, if we were to start from 1 and end at 64, we would require 7 bits to store the same number, thus increasing the storage size.

## Answers

### Answer by James Smith

This boils down to the concept of Binary digits. Take an array size of 64 for example. We start from 0 and end at 63. We require 6 bits.But, if we were to start from 1 and end at 64, we would require 7 bits to store the same number, thus increasing the storage size.


---

Original Source: https://www.mindstick.com/interview/1100/why-array-index-starts-from-zero

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
