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.

Answer Posted / aravind

#include<stdio.h>
#include<math.h> /*I am not sure whether this lib fun is gud*/
int main()
{
int num=12345,result;
result=pow(12345,2);
printf("result=%d",result);
}

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to introdu5ce my self in serco

1965


What is the size of empty structure in c?

1048


What is const and volatile in c?

1005


What is meant by preprocessor in c?

975


Write the Program to reverse a string using pointers.

988


What is structure padding in c?

1086


What are linked lists in c?

1104


What is the best organizational structure?

1080


Explain what are the different file extensions involved when programming in c?

1073


What is a file descriptor in c?

1076


What are the ways to a null pointer can use in c programming language?

1103


Do you know null pointer?

995


any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above

1104


What is the function of multilevel pointer in c?

1044


If I have a char * variable pointing to the name of a function ..

1148