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


Please Help Members By Posting Answers For Below Questions

Can you write the algorithm for Queue?

1558


How will you delete a node in DLL?

688


What is the use of function overloading in C?

684


What is c language in simple words?

598


write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?

1676






What is assert and when would I use it?

583


How can you invoke another program from within a C program?

620


What is variables in c?

611


What are the application of void data type in c?

722


What is c basic?

603


What does the message "automatic aggregate intialization is an ansi feature" mean?

696


In c language can we compile a program without main() function?

584


explain how do you use macro?

669


How do you define CONSTANT in C?

655


I have a varargs function which accepts a float parameter?

583