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

void main()
{


long int n,x;
clrscr();
printf(" Enter 5 digit number:");
scanf("%d",&n);
x=2^n;
printf("result: %d",x);
getch();
}

Is This Answer Correct ?    1 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the advantage of an array over individual variables?

1232


What is a pointer and how it is initialized?

1154


How can I open files mentioned on the command line, and parse option flags?

1070


What is the use of parallelize in spark?

1029


Is it better to use a macro or a function?

1157


application attempts to perform an operation?

1970


Write a program to find the biggest number of three numbers in c?

1043


Not all reserved words are written in lowercase. TRUE or FALSE?

1232


What does 4d mean in c?

1495


WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

2377


what are the advantages of a macro over a function?

1141


Explain what is the advantage of a random access file?

1121


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

1137


What is nested structure?

1036


Does sprintf put null character?

1039