Re: [algogeeks] shift left nd right

2011-08-08 Thread Shashank Jain
thx dipankar, its a gud 1!
Bt tell me wat does '' and '' operators do?

eg: 202 = 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.



Re: [algogeeks] shift left nd right

2011-08-08 Thread Gaurav Menghani
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: 202 = 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.



Re: [algogeeks] shift left nd right

2011-08-08 Thread Karthikeyan palani
 s greater than operator , 20 1 is 1 as 20 s greater than 2

On 8 August 2011 22:20, Shashank Jain shashan...@gmail.com wrote:

 thx dipankar, its a gud 1!
 Bt tell me wat does '' and '' operators do?

 eg: 202 = 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.comwrote:

 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.




-- 
karthikeyankkn

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



Re: [algogeeks] shift left nd right

2011-08-08 Thread Shashank Jain
  int b;
  b=22;
  printf(%f, b);

output: 0.00

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.comwrote:

 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: 202 = 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.



Re: [algogeeks] shift left nd right

2011-08-08 Thread Shashank Jain
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 shashan...@gmail.com wrote:

   int b;
   b=22;
   printf(%f, b);

 output: 0.00

 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: 202 = 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.



Re: [algogeeks] shift left nd right

2011-08-08 Thread jagrati verma
coz u r trying to print float of any integer value so by the memory
representation of float it'll giv 0.0









On Mon, Aug 8, 2011 at 10:30 PM, Shashank Jain shashan...@gmail.com 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 shashan...@gmail.com wrote:

   int b;
   b=22;
   printf(%f, b);
 output: 0.00
 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: 202 = 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.


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



Re: [algogeeks] shift left nd right

2011-08-08 Thread Dipankar Patro
try initializing b to 2;
you will get answer 2*2*2;

On 8 August 2011 22:41, jagrati verma jagrativermamn...@gmail.com wrote:

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









 On Mon, Aug 8, 2011 at 10:30 PM, Shashank Jain shashan...@gmail.com
 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 shashan...@gmail.com
 wrote:
 
int b;
b=22;
printf(%f, b);
  output: 0.00
  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: 202 = 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.
 

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



[algogeeks] shift left nd right

2011-08-07 Thread Shashank Jain
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.