Write a program that takes a 5 digit number and calculates 2
power that number and prints it
Answer Posted / pradeep
Thank you for giving reply.
But the above program was not correct as Muz said Long int
is not sufficcient to hold result..........
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
write a program to print largest number of each row of a 2D array
Explain how can I make sure that my program is the only one accessing a file?
Explain the use of fflush() function?
What are the advantages of union?
What are pointers? Why are they used?
When can a far pointer be used?
What is scope rule in c?
How can I avoid the abort, retry, fail messages?
Can I initialize unions?
What is a static variable in c?
What functions are used in dynamic memory allocation in c?
How can you allocate arrays or structures bigger than 64K?
int i=10; printf("%d %d %d", i, i=20, i);
In a switch statement, what will happen if a break statement is omitted?
What is calloc() function?