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
What are the 32 keywords in c?
What are the applications of c language?
how is the examination pattern?
Explain heap and queue.
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
What is memory leak in c?
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
What is the use of static variable in c?
What is meant by operator precedence?
Explain how do you use a pointer to a function?
Is there any possibility to create customized header file with c programming language?
What is dangling pointer in c?
What is a char in c?
Why isn't any of this standardized in c? Any real program has to do some of these things.
Is it possible to initialize a variable at the time it was declared?