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

Describe dynamic data structure in c programming language?

1140


What is a union?

1093


How do I create a directory? How do I remove a directory (and its contents)?

1228


How can I find the modification date of a file?

1340


Is r written in c?

1192


What are pointers really good for, anyway?

1120


a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none

1211


What are the advantages and disadvantages of c language?

1072


What is bash c?

1067


Describe the modifier in c?

1149


Explain what are the advantages and disadvantages of a heap?

1129


Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.

3745


Can we access the array using a pointer in c language?

1098


code for replace tabs with equivalent number of blanks

2216


What is the benefit of using #define to declare a constant?

1153