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
I have seen function declarations that look like this
What are the types of functions in c?
What is a pointer in c?
What is wrong in this statement?
Explain how can you determine the size of an allocated portion of memory?
How do you define a string?
Explain what are the different data types in c?
What is scope rule in c?
What is the use of #define preprocessor in c?
Can we replace the struct function in tree syntax with a union?
What is the use of a conditional inclusion statement in C?
What is pointer to pointer in c?
Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent
Why do some versions of toupper act strangely if given an upper-case letter?
a c code by using memory allocation for add ,multiply of sprase matrixes