Write a program that takes a 5 digit number and calculates
2 power that number and prints it

Answer Posted / ashlesha

take no and define array take each letter n then use pow(no,2)

Is This Answer Correct ?    23 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain zero based addressing.

579


What do you mean by dynamic memory allocation in c?

624


What are enums in c?

627


What is the best organizational structure?

616


What are derived data types in c?

592






Is sizeof a keyword in c?

554


Is int a keyword in c?

534


a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f

1564


How are strings stored in c?

564


What is the difference between int main and void main?

553


write a c program in such a way that if we enter the today date the output should be next day's date.

1659


the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?

532


What is meant by realloc()?

653


What is meant by errors and debugging?

625


Sir i need notes for structure,functions,pointers in c language can you help me please

1919