take the size of char * p and char p [] to confirm the same

On Mon, Aug 22, 2011 at 9:32 PM, Anand Prasad <[email protected]>wrote:

> yea,, true.. spot on actually..
> Anand
>
>
>
> On Mon, Aug 22, 2011 at 9:30 PM, sukran dhawan <[email protected]>wrote:
>
>> they are different !!! char p[] is a constant pointer and char * p is not.
>> u can do something like this
>>
>> char * p;
>> p="dgdfg";
>>
>> but not the same for char p[]
>>
>> On Mon, Aug 22, 2011 at 8:55 PM, priya ramesh <
>> [email protected]> wrote:
>>
>>> The compiler will distinguish between char n[] and char * in which part
>>> of the prog??
>>> 1. In actual parameters of function arguments
>>> 2. In formal parameters of function arguments
>>> 3. in both
>>>
>>> generally after 1st online technical round what is the cut off for
>>> amazon??
>>>
>>> --
>>> 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.
>>>
>>
>>  --
>> 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.
>>
>
>  --
> 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.
>

-- 
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.

Reply via email to