Write a program that takes a 5 digit number and calculates
2 power
that number and prints it.
Answer Posted / sushant shrivastava
include<math.h>
include<stdio.h>
int main()
{
int i,num;
printf("Enter the value of i");
scanf("%d",&i)
num=POW(i,2);
printf("%d%d",num);
}
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How do you determine the length of a string value that was stored in a variable?
What is the difference between far and near ?
Is main is a keyword in c?
What is the use of a conditional inclusion statement in C?
Can a pointer be static?
What is a dynamic array in c?
find out largest elemant of diagonalmatrix
Do array subscripts always start with zero?
How a string is stored in c?
What are types of functions?
What is external variable in c?
Difference between malloc() and calloc() function?
Are pointers really faster than arrays?
Describe dynamic data structure in c programming language?
Describe how arrays can be passed to a user defined function