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
Describe dynamic data structure in c programming language?
What is a union?
How do I create a directory? How do I remove a directory (and its contents)?
How can I find the modification date of a file?
Is r written in c?
What are pointers really good for, anyway?
a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none
What are the advantages and disadvantages of c language?
What is bash c?
Describe the modifier in c?
Explain what are the advantages and disadvantages of a heap?
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
Can we access the array using a pointer in c language?
code for replace tabs with equivalent number of blanks
What is the benefit of using #define to declare a constant?