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
How do shell structures work?
What is c system32 taskhostw exe?
What are register variables? What are the advantage of using register variables?
What is #include conio h?
What is pivot in c?
if p is a string contained in a string?
Why double pointer is used in c?
Describe the difference between = and == symbols in c programming?
What are control structures? What are the different types?
How can I trap or ignore keyboard interrupts like control-c?
in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above
Explain is it better to bitshift a value than to multiply by 2?
How many types of sorting are there in c?
Write a program to generate random numbers in c?
How do you use a 'Local Block'?