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

Answer Posted / muz

@ ^^^

long int is not sufficient to hold the result of 2^(5 digit
number).
Even if u take long long <variable>, the result will be
displayed as infinity.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 32 keywords in c?

639


What are the applications of c language?

630


how is the examination pattern?

1599


Explain heap and queue.

591


Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014  Npu university

1605






What is memory leak in c?

639


What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

630


What is the use of static variable in c?

597


What is meant by operator precedence?

680


Explain how do you use a pointer to a function?

642


Is there any possibility to create customized header file with c programming language?

630


What is dangling pointer in c?

628


What is a char in c?

559


Why isn't any of this standardized in c? Any real program has to do some of these things.

630


Is it possible to initialize a variable at the time it was declared?

763