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

Answer Posted / pradeep

Thank you for giving reply.
But the above program was not correct as Muz said Long int
is not sufficcient to hold result..........

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is function prototype in c with example?

583


Write a code to generate a series where the next element is the sum of last k terms.

741


What is const keyword in c?

753


What is the advantage of c?

613


to print the salary of an employee according to follwing calculation: Allowances:HRA-20% of BASIC,DA-45% of BASIC,TA-10%. Deductions:EPF-8% of BASIC,LIC-Rs.200/-Prof.Tax:Rs.200/- create c language program?

1575






What is an identifier?

632


What are the types of data types and explain?

675


Why we not create function inside function.

1751


i got 75% in all semester am i eligible for your company

1741


Is that possible to add pointers to each other?

907


What is wrong with this program statement?

610


Synonymous with pointer array a) character array b) ragged array c) multiple array d) none

620


difference between Low, Middle, High Level languages in c ?

1636


Explain the use of 'auto' keyword in c programming?

685


What is break statement?

636