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

4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.

2196


Explain how can you tell whether two strings are the same?

1028


What is preprocessor with example?

1071


What does %c mean in c?

1106


What’s a signal? Explain what do I use signals for?

1127


Explain what is the difference between functions getch() and getche()?

1067


Describe how arrays can be passed to a user defined function

1306


Why pointers are used?

1084


What is bash c?

1020


Can i use “int” data type to store the value 32768? Why?

1200


What are the types of pointers?

1129


Does sprintf put null character?

1055


Compare and contrast compilers from interpreters.

1128


write an algorithm to display a square matrix.

2726


What is floating point constants?

1150