Write a program that takes a 5 digit number and calculates 2
power that number and prints it

Answer Posted / cheela deepak

integer range is not sufficient for given program so result
will not hold

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program for finding factorial of a number.

629


What is #include stdio h?

679


What is modifier & how many types of modifiers available in c?

604


What is the condition that is applied with ?: Operator?

656


Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?

665






Explain what is a program flowchart and explain how does it help in writing a program?

643


Where can I get an ansi-compatible lint?

634


By using C language input a date into it and if it is right?

568


What is array in C

704


A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?

1508


Explain what does the function toupper() do?

629


What is the use of #include in c?

570


What is spark map function?

578


What is the description for syntax errors?

611


Can static variables be declared in a header file?

612