Write a program that takes a 5 digit number and calculates
2 power
that number and prints it.
Answer Posted / akshay
#include<stdio.h>
#include<conio.h>
//Develo0ed by Akshay p.Joy
void main()
{
unsigned long int a,s=1;
int i,j,k,l,m,n;
scanf("%d%d",&m);
for(i=0;i<2;++i)
{
s=s*m;
}
printf("result %ld",s);
getch();
}
| Is This Answer Correct ? | 5 Yes | 11 No |
Post New Answer View All Answers
illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question
what is the structure pointer?
Why c is a mother language?
How to compare array with pointer in c?
What is a dynamic array in c?
What is the right way to use errno?
Is it acceptable to declare/define a variable in a c header?
What is bss in c?
List some applications of c programming language?
List the difference between a While & Do While loops?
Is swift based on c?
What does s c mean in text?
How do you define a function?
What standard functions are available to manipulate strings?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.