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 / muz

@ ^^^

long int is not sufficient to hold the result of 2^(5 digit
number).
Even if u take long long <variable>, the result will be
displayed as infinity.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can a process change an environment variable in its caller?

1132


What is break statement?

1061


cavium networks written test pattern ..

4030


c program for searching a student details among 10 student details

2043


What is the difference between declaring a variable by constant keyword and #define ing that variable?

3290


Explain what will the preprocessor do for a program?

1006


What is the condition that is applied with ?: Operator?

1072


Explain 'far' and 'near' pointers in c.

1084


how is the examination pattern?

1969


What is modifier & how many types of modifiers available in c?

986


What is the use of c language in real life?

975


What is the difference between text files and binary files?

1286


What is the correct code to have following output in c using nested for loop?

1029


plz let me know how to become a telecom protocol tester. thank you.

2141


What is a dynamic array in c?

1078