4) Write a program that takes a 5 digit number and
calculates 2 power
that number and prints it.
Answer Posted / sathishmani
#include<stdio.h>
#include<conio.h>
void main()
{
int a;
a=12345;
printf("\n The Result is ",a*a);
getch();
}
| Is This Answer Correct ? | 6 Yes | 18 No |
Post New Answer View All Answers
How can I write functions that take a variable number of arguments?
Tell me when is a void pointer used?
1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321
What do the functions atoi(), itoa() and gcvt() do?
Why is it usually a bad idea to use gets()? Suggest a workaround.
What is derived datatype in c?
How can you pass an array to a function by value?
how logic is used
What is the use of function in c?
How can I discover how many arguments a function was actually called with?
What does sizeof return c?
What is a spanning Tree?
What is a file descriptor in c?
What is data type long in c?
What is mean by data types in c?