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 |
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?
Tell me what is the purpose of 'register' keyword in c language?
Explain what are the different file extensions involved when programming in c?
how to copy a string without using c function
What is conio h in c?
Why clrscr is used after variable declaration?
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
Why void is used in c?
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
What is omp_num_threads?
Which weighs more, a gram of feathers or a gram of gold?
What is dangling pointer in c?