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 program for print infinite numbers

Answer Posted / greg

#include <math.h>

static void checkinfinit(double x)
{
if (isinf())
{
printf("Infinite\n");
}
}

int main(int argc, char **argv, char **envp)
{
checkinfinite(1.0);
}

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do pointers take up memory?

1165


What is the use of a static variable in c?

1062


What is function and its example?

1227


When should the register modifier be used? Does it really help?

970


How can I call a function with an argument list built up at run time?

1248


How can I find out how much free space is available on disk?

1058


What is far pointer in c?

1317


How can I read in an object file and jump to locations in it?

1033


Why doesnt this code work?

1069


What are the application of void data type in c?

1191


Explain high-order bytes.

1122


explain what is a newline escape sequence?

1094


program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

3095


What do you mean by a local block?

1087


What are the loops in c?

999