cpp = cp is valid.other one is not valid because the compiler places cp in
read only memory.so we cannot change its address

On Fri, Aug 5, 2011 at 12:43 AM, Ankur Khurana <ankur.kkhur...@gmail.com>wrote:

> dev cpp par chal jaenge ,
> ideone.com par try kar
> cp=cpp nahi chalega . .
>
>
> On Fri, Aug 5, 2011 at 12:40 AM, Kamakshii Aggarwal <kamakshi...@gmail.com
> > wrote:
>
>> i have a doubt regarding 3rd questions..acc to me both are valid...what is
>> the correct answer?
>>
>>
>> On Fri, Aug 5, 2011 at 12:27 AM, newOne <trader.lu...@gmail.com> wrote:
>>
>>> 2 issues:
>>> 1. no error handling for malloc failure( can be ignored)
>>> 2. no memset for p&q.
>>>
>>> strcat will not work properly: as by definition it will search for the
>>> null char in first string, removes it then copies the second string
>>> including the null char of second string.
>>>
>>> --
>>> 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.
>>>
>>>
>>
>>
>> --
>> Regards,
>> Kamakshi
>> kamakshi...@gmail.com
>>
>> --
>> 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.
>>
>
>
>
> --
> Ankur Khurana
> Computer Science
> Netaji Subhas Institute Of Technology
> Delhi.
>
>  --
> 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