answersLogoWhite

0

How do you print 2 power 5 value in c language?

Updated: 8/18/2019
User Avatar

Wiki User

13y ago

Best Answer

puts ("32");

/*or*/

printf ("2^5=%d\n", 1<<5);

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you print 2 power 5 value in c language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you print a particular value using PHP?

To print a particular value in PHP you have to select which variable you wish to print. Below is an example of how this can be done. &lt;?php $var[1] = "Hello"; $var[2] = "Lalala"; print $var[2]; // prints Lalala but not Hello ?&gt;


What is the value of 4 to the power of -2?

The value of 4 to the power of -2 is 0.0625


What is the value of 3 to the negative power of 2?

The value of 3 to the negative power of 2 is 1/9.


Find value of ducks unlimited prints?

radigona print 2/225


What is the value 2 to the power of 8?

It is: 2 to the power of 8 = 256


What is the value of 2 to the power of 3 times 3 to the power of 2?

48


Find the power of a positive integer in qbasic?

PROGRAMMING LANGUAGE: QBASIC/VERSION: QB64 ...Program code... intNum% = 2 CLS PRINT "PROGRAM: POWERS OF N/(N ="; intNum%; ")" PRINT FOR intEachLoopNum% = 0 TO 10 PRINT intNum%; " ^ "; intEachLoopNum%; " = "; intNum% ^ intEachLoopNum% NEXT ...Output... 2 ^ 0 = 1 2 ^ 1 = 2 2 ^ 2 = 4 2 ^ 3 = 8 2 ^ 4 = 16 2 ^ 5 = 32 2 ^ 6 = 64 2 ^ 7 = 128 2 ^ 8 = 256 2 ^ 9 = 512 2 ^ 10 = 1024 *NOTE*: In QBASIC the mathematical symbol: ^...means 'raise to the power of'; thus, 2 ^ 3; actually means raise the number 2 to the power of 3/or, 2 x 2 x 2.


What is the Value of a 2 dollar with red print?

I would say approximately two dollars.


What is the value of 2 to the power of n?

Just write it as 2 to the power n. You can't simplify that, and you can only calculate a specific value if you know the value of n.


The numerical value of 2 to the power of 1?

2 to the power of 1 (21) equals 2.


What is the value of of 2 to the third power?

(33)2.


What is the value of two 2 dollar bills in sequence from 1960?

The U.S. did not print any $2 bills with that date.