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
Do you have any idea how to compare array with pointer in c?
Simplify the program segment if X = B then C ← true else C ← false
What is a pointer value and address in c?
how to print the character with maximum occurence and print that number of occurence too in a string given ?
What happens if you free a pointer twice?
What is the difference between char array and char pointer?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
hi any body pls give me company name interview conduct "c" language only
Write a Program to accept different goods with the number, price and date of purchase and display them
How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?
Explain enumerated types in c language?
What is the difference between array and pointer in c?
Can main () be called recursively?
Can we use any name in place of argv and argc as command line arguments?
What is the difference between struct and union in C?