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
<gaurav.mengh...@gmail.com>wrote:

> http://lmgtfy.com/?q=Bitwise+left+and+right+shift+operators
>
> On Mon, Aug 8, 2011 at 10:20 PM, Shashank Jain <shashan...@gmail.com>
> 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 <dip10c...@gmail.com>
> 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 <shashan...@gmail.com> 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 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.
> >>
> >>
> >>
> >> --
> >>
> >>
> ___________________________________________________________________________________________________________
> >>
> >> 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 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.
> >
>
>
>
> --
> 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 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