write a c/c++ program that takes a 5 digit number and
calculates 2 power that number and prints it?

Answer Posted / parth ujenia

The condition is input take "5 digit" !
and according to above C prog
output of:12345
is: 27825

because range of integer data type is -32768 to 32767.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler

609


What is file in c language?

574


Where local variables are stored in c?

554


What are register variables in c?

571


What are the differences between new and malloc in C?

607






write a c program to find the sum of five entered numbers using an array named number

1617


What is #include stdio h?

679


Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.

1565


What is the difference between union and anonymous union?

833


Which programming language is best for getting job 2020?

605


write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.

3331


Where static variables are stored in memory in c?

521


Why isnt any of this standardized in c?

629


1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321

3138


Give the rules for variable declaration?

669