Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Write a program that takes a 5 digit number and calculates 2
power
that number and prints it.



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

Post New Answer

More C Interview Questions

write a program for 7*8 = 56 ? without using * multiply operator ? output = 56

6 Answers   Xavient,


i need all types of question paper releted to "c" and other language.

0 Answers  


Explain what standard functions are available to manipulate strings?

0 Answers  


write a programme to convert temperature from farenheit to celcius?

4 Answers   IBM,


Did c have any year 2000 problems?

0 Answers  


Difference between macros and inline functions? Can a function be forced as inline?

0 Answers   HAL, Honeywell, Zomato,


What is ## preprocessor operator in c?

0 Answers  


Disadvantages of C language.

0 Answers   Impetus,


Is register a keyword in c?

0 Answers  


what is the height of tree if leaf node is at level 3. please explain

0 Answers  


when to use : in c program?

2 Answers  


What is difference between far and near pointers?

0 Answers  


Categories