Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

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

1245


Is c# a good language?

983


main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }

1487


How can I implement a delay, or time a users response, with sub-second resolution?

1049


What is indirection in c?

1044


What is the code in while loop that returns the output of given code?

1926


Why use int main instead of void main?

1080


What is the use of pointers in C?

1044


Explain what is the advantage of a random access file?

1086


How do you generate random numbers in C?

1164


Who developed c language and when?

1032


What is this pointer in c plus plus?

1044


Explain setjmp()?

1029


What is a void pointer in c?

1063


What is the process of writing the null pointer?

1002