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
Explain how do you override a defined macro?
What is the difference between break and continue?
What is the argument of a function in c?
What is pointers in c?
Explain what is the stack?
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
Is c easy to learn?
What is meant by preprocessor in c?
Does c have circular shift operators?
write a program for the normal snake games find in most of the mobiles.
What is the difference between class and object in c?
Should I learn data structures in c or python?
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
What is context in c?
What is class and object in c?