append numbers C Programming -
If I have the number 88 then how do I finally add 00 and change it to 8800? The bitwet shift is the only way, I can think of doing this but it does not work. This completely changes the number
Changes towards bit used to multiply with powers of only two Can be done, you just want to multiply. Just run:
printf ("% d", 88 * 100); To print 8800.
If you want to do what you really want to do is add 00 to the end of the numbers, you can do this instead:
printf ("% d00", 88) ;
Comments
Post a Comment