coz u r trying to print float of any integer value so by the memory
representation of float it'll giv 0.00000









On Mon, Aug 8, 2011 at 10:30 PM, Shashank Jain <[email protected]> wrote:
> oh yeah, thx karthik.
> Shashank Jain
> IIIrd year
> Computer Engineering
> Delhi College of Engineering
>
>
> On Mon, Aug 8, 2011 at 10:29 PM, Shashank Jain <[email protected]> wrote:
>>
>>   int b;
>>   b=2<<2;
>>   printf("%f", b);
>> output: 0.000000
>> plz tell y is dat so?
>> Shashank Jain
>> IIIrd year
>> Computer Engineering
>> Delhi College of Engineering
>>
>>
>> On Mon, Aug 8, 2011 at 10:24 PM, Gaurav Menghani
>> <[email protected]> wrote:
>>>
>>> http://lmgtfy.com/?q=Bitwise+left+and+right+shift+operators
>>>
>>> On Mon, Aug 8, 2011 at 10:20 PM, Shashank Jain <[email protected]>
>>> wrote:
>>> > thx dipankar, its a gud 1!
>>> > Bt tell me wat does '<' and '>' operators do?
>>> > eg: 20>2 = 1
>>> > can u explain nd wat is this operator called?
>>> > Shashank Jain
>>> > IIIrd year
>>> > Computer Engineering
>>> > Delhi College of Engineering
>>> >
>>> >
>>> > On Mon, Aug 8, 2011 at 12:54 AM, Dipankar Patro <[email protected]>
>>> > wrote:
>>> >>
>>> >> This link I think is a good one:
>>> >> http://msdn.microsoft.com/en-us/library/336xbhcz.aspx
>>> >>
>>> >> On 8 August 2011 00:37, Shashank Jain <[email protected]> wrote:
>>> >>>
>>> >>> plz sum1 explain me shift left nd shift right operators?
>>> >>> Shashank Jain
>>> >>> IIIrd year
>>> >>> Computer Engineering
>>> >>> Delhi College of Engineering
>>> >>>
>>> >>> --
>>> >>> 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.
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >>
>>> >>
>>> >> ___________________________________________________________________________________________________________
>>> >>
>>> >> Please do not print this e-mail until urgent requirement. Go Green!!
>>> >> Save Papers <=> Save Trees
>>> >>
>>> >> --
>>> >> 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.
>>> >
>>>
>>>
>>>
>>> --
>>> Gaurav Menghani
>>>
>>> --
>>> 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