Answered Questions

  • Why always array starts with index 0

    MOHIT GONDULEY

    • Apr 20th, 2006

    In case of Array , the ArrayName is Nothing but a Base Address, when we use [] operator , it treats leftmostvalue as a base address and rightside value as an offset so it adds BaseAddress+Offset and g...

    paulson paul chambakottukudyil

    • Apr 12th, 2006

    Array name is a constant pointer pointing to the base address(address of the first byte where the array begin) of the memory allocated. When you use arr[i], the compiler manipulates it as *(arr + i). ...