Hey..there are a simple way to convert this type of expression into
English.....
int *a[] : 'a' is an array of pointer to integer.. i.e : integer-pointer
array int (*a)[] : 'a' is a pointer to a array that contains integers : ie
pointer to an integer array..
see below how it derived..:
int * a []
.....................>
<----------------------
<--------
and
int ( * a ) []
...............>
<----------------
<------
...........................................................>
<----------------------------------------
Hope Understood ?
Cheers
Dipankar
On Mon, Nov 14, 2011 at 10:05 AM, sumit mahamuni <[email protected]
> wrote:
> @anup: Dude u missed the second its int (*a)[]
> not pointer to function its the pointer to integer array
>
>
> On Mon, Nov 14, 2011 at 7:00 AM, Anup Ghatage <[email protected]> wrote:
>
>> First is an array of pointers to integers.
>> Second is a pointer to a function that returns an integer.
>>
>> On Mon, Nov 14, 2011 at 12:11 AM, rj7 <[email protected]> wrote:
>>
>>> Could someone pls tell me the difference between int *a[] and int (*a)
>>> []
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Algorithm Geeks" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/algogeeks?hl=en.
>>>
>>>
>>
>>
>> --
>> Anup Ghatage
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Algorithm Geeks" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>
>
>
> --
> Thanks and Regards,
> Sumit Mahamuni.
>
> -- Slow code that scales better can be faster than fast code that doesn't
> scale!
> -- Tough times never lasts, but tough people do.
> -- I love deadlines. I like the whooshing sound they make as they fly by.
> - D. Adams
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
--
Thanks and Regards,
------------------------------
**DIPANKAR DUTTA
Software Development Engineer
Xen Server - OpenStack Development Team (DataCenter and Cloud)
Citrix R&D India Pvt Ltd
69/3, Millers Road, Bangalore – 560052
Phone: +91 8147830733
Office: Extn: 16429
Email: [email protected]
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.