Write a program that takes a 5 digit number and calculates 2
power
that number and prints it.
Answer / aravind
#include<stdio.h>
#include<math.h> /*I am not sure whether this lib fun is gud*/
int main()
{
int num=12345,result;
result=pow(12345,2);
printf("result=%d",result);
}
| Is This Answer Correct ? | 3 Yes | 4 No |
How can we allocate array or structure bigger than 64kb?
How pointer is benefit for design a data structure algorithm?
write a Program to dispaly upto 100 prime numbers(without using Arrays,Pointer)
26 Answers ADITI, iFlex, Infosys, Oracle, TCS, Unicops, Wipro,
Write a program to print ASCII code for a given digit.
What is the difference between struct and typedef struct in c?
What is quick sort in c?
What is the use of function in c?
write a program that will read the temperature in Celsius and convert that into Fahrenheit.
general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only
what is ur strangth & weekness
0 Answers Cognizant, LG Soft, NetEnrich,
When should the volatile modifier be used?
What is d scanf?