thanx launde. its working.

On Thu, Mar 10, 2011 at 4:00 PM, Ankur Khurana <ankur.kkhur...@gmail.com>wrote:

> may be this will do
> int arr[21];
> int *a;
> a=arr+10;
> now a can vary from a[-10] to a[10]
> I have doubts but will this work ?
>
>
>
> On Thu, Mar 10, 2011 at 3:31 PM, amit <amitthecoo...@gmail.com> wrote:
>
>> Indexing of an array starts with '0' by default. can we manually start
>> with 1 or any other number say a negative one?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Algorithm Geeks" group.
>> To post to this group, send email to algogeeks@googlegroups.com.
>> To unsubscribe from this group, send email to
>> algogeeks+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algogeeks@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to