Download citation...
Question
Asked 28 January 2011

Negative indices in C

Hello Friends,
Anyone please explain to me what happens when i supply negative index in C array. I got garbage value when i tried it.
Hanan Nimer
Jiwaji University
Array indices start from 0 in C++ , I guess C too..
try to convert negative indices into positive..
Array[(i* -1)] , where i :negative index..