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
How can a process change an environment variable in its caller?
What is break statement?
cavium networks written test pattern ..
c program for searching a student details among 10 student details
What is the difference between declaring a variable by constant keyword and #define ing that variable?
Explain what will the preprocessor do for a program?
What is the condition that is applied with ?: Operator?
Explain 'far' and 'near' pointers in c.
how is the examination pattern?
What is modifier & how many types of modifiers available in c?
What is the use of c language in real life?
What is the difference between text files and binary files?
What is the correct code to have following output in c using nested for loop?
plz let me know how to become a telecom protocol tester. thank you.
What is a dynamic array in c?