@prashant

devcpp gives an error cannot convert `char (*)[5]' to `char*' in
initialization

ne ideas??

On Mon, Aug 8, 2011 at 12:58 PM, Prashant Kulkarni <
[email protected]> wrote:

> @Mohit
>
> Output Will be:
>
> 5    5    "some chunk value"
>
> Reason: When 'p' is assigning, we are assigning next memory location of
> 'ch'. similar we are assigning same memory location to 'q' as well but while
> printing, we are printing the last memory location content of 'ch' (i.e
> "p-1") and for 'q' we are printing its starting location so we will some
> garbage value.
>
> -- Prashant Kulkarni
>
>
>
>
> On Mon, Aug 8, 2011 at 11:28 AM, Mohit Goel <[email protected]>wrote:
>
>>
>>
>> can anyone one explain output of question 1.....
>>
>> --
>> 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