@wladimar, the value of 2 power 31 is 2147483648... but the integer range is -2147483648 to 2147483647... when you trying to print the 2 power 31 it gives you the value -2147483648 due to exceeding th limit of an signed int..
-- 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.