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
What are the types of bitwise operator?
Why is it important to memset a variable, immediately after allocating memory to it ?
what is the syallabus of computer science students in group- 1?
When we use void main and int main?
What is the difference between malloc() and calloc() function in c language?
Explain how can you avoid including a header more than once?
What is meant by type specifiers?
What is pointer to pointer in c language?
Why do we need arrays in c?
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
What is the use of extern in c?
What is the benefit of using an enum rather than a #define constant?
What is the difference between c and python?
What is a scope resolution operator in c?
Why c is called procedure oriented language?