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
Does c have class?
How to get string length of given string in c?
What are the types of data structures in c?
Explain how do you search data in a data file using random access method?
What is the purpose of scanf() and printf() functions?
What are the advantages of union?
What is the main difference between calloc () and malloc ()?
What are the 3 types of structures?
write a program to print data of 5 five students with structures?
What is string in c language?
What is function definition in c?
What are header files in c programming?
What is the best organizational structure?
Can true be a variable name in c?
What is the use of ?