Write a program that takes a 5 digit number and calculates 2
power
that number and prints it.
Answer / s.shanmugam24
#include<stdio.h>
#include<conio.h>
#include<math.h>
void main(void)
{
int power,i;
i=2;
clrscr();
printf("enter the power values");
scanf("%d",&power);
i=pow(power);
printf("the power is",i);
}
| Is This Answer Correct ? | 2 Yes | 9 No |
Why & is used in scanf in c?
Write a program in c to print * * * * * *******
f1() { f(3);} f(int t) { switch(t); { case 2: c=3; case 3: c=4; case 4: c=5; case 5: c=6; default: c=0;} value of c?
write a program to display the numbers having digit 9 in the given range from 1 to 100
How Many Header Files in c?
implement NAND gate logic in C code without using any bitwise operatior.
Is both getch() and getchar() functions are similar? if it is similar means why these two functions are used for same usage? if it is not similar means what is the difference?
What are dangling pointers?
Can you explain the four storage classes in C?
What is a static function in c?
Write a program to print fibonacci series using recursion?
Explain the difference between malloc() and calloc() function?