http://www.ideone.com/JQFNh
CHECK THE OUTPUT THERE IS NO AMBIGUITY BUT PLEASE EXPLAIN THE RESULTS

On Sun, Nov 20, 2011 at 11:00 PM, Akash Coder <akash.coder.g...@gmail.com>wrote:

> it wont work
>
> even this wont
>
> function(char a[])
> function (char *)
> coz the two forms are interchangeable
>
>
> On Sun, Nov 20, 2011 at 10:12 PM, saurabh singh <saurab...@gmail.com>wrote:
>
>> wont work......Thre is no way compilers gonna guess which function to
>> call.The const qualifier only guarantees that the value at the address wont
>> be altered inside the function.That has nothing to do with calling,
>>
>>
>> On Sun, Nov 20, 2011 at 9:50 PM, rahul vatsa <vatsa.ra...@gmail.com>wrote:
>>
>>> yes, it will work.
>>>
>>>
>>> On Sun, Nov 20, 2011 at 9:12 PM, Akash Coder <akash.coder.g...@gmail.com
>>> > wrote:
>>>
>>>> no it wont work ... const is not a datatype. its  a qualifier
>>>>
>>>>
>>>> On Sun, Nov 20, 2011 at 7:49 PM, rahul sharma 
>>>> <rahul23111...@gmail.com>wrote:
>>>>
>>>>> void fun(char *)
>>>>> void fun(const char *)
>>>>>
>>>>>
>>>>>
>>>>> is this overloading works or these are same type of arguments??????
>>>>>
>>>>> --
>>>>> 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.
>>>
>>
>>
>>
>> --
>> Saurabh Singh
>> B.Tech (Computer Science)
>> MNNIT ALLAHABAD
>>
>>
>>
>>  --
>> 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.
>



-- 
*UTKARSH SRIVASTAV
CSE-3
B-Tech 3rd Year
@MNNIT ALLAHABAD*

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