write a c program to find the square of a 5 digit number
and print the result.
Answer Posted / balagopalan
#include<stdio.h>
int main()
{
long long int a = 99999;
long long int b = a * a;
printf("%lld" , b);
return 0;
}
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
Is c# a good language?
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
How can I implement a delay, or time a users response, with sub-second resolution?
What is indirection in c?
What is the code in while loop that returns the output of given code?
Why use int main instead of void main?
What is the use of pointers in C?
Explain what is the advantage of a random access file?
How do you generate random numbers in C?
Who developed c language and when?
What is this pointer in c plus plus?
Explain setjmp()?
What is a void pointer in c?
What is the process of writing the null pointer?