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 c/c++ program that takes a 5 digit number and
calculates 2 power that number and prints it?

Answer Posted / parth ujenia

The condition is input take "5 digit" !
and according to above C prog
output of:12345
is: 27825

because range of integer data type is -32768 to 32767.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is use of integral promotions in c?

1152


What are the different types of control structures?

1048


Can we assign string to char pointer?

1119


Tell me can the size of an array be declared at runtime?

1051


Explain what is wrong with this program statement?

1123


What are the types of c language?

1037


Is file a keyword in c?

935


Is main a keyword in c?

1138


Explain 'bus error'?

1102


What is the acronym for ansi?

1051


Are negative numbers true in c?

1069


What does & mean in scanf?

1112


What is meant by realloc()?

1159


What extern c means?

1005


What is your stream meaning?

1243